diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2019-01-18 13:00:51 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-19 10:34:59 -0800 |
commit | 0726f558d88ecc15b4dd461bdb2ac6bb763cadcb (patch) | |
tree | f6c6ab48d1c951e2f427425bf74b40a493d2d655 /.cocciconfig | |
parent | 65ea97d1760152e344e3e442fddcff822e3c750b (diff) | |
download | linux-0726f558d88ecc15b4dd461bdb2ac6bb763cadcb.tar.bz2 |
net: sock: do not set sk_cookie in sk_clone_lock()
The only call site of sk_clone_lock is in inet_csk_clone_lock,
and sk_cookie will be set there.
So we don't need to set sk_cookie in sk_clone_lock().
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions