From: Yafang Shao
Date: Fri, 18 Jan 2019 13:00:51 +0800
> 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
> Signed-off-by: Yafang Shao
Applied.
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
Signed-off-by: Yafang Shao
---
net/core/sock.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/core/sock.c b/net