Re: [PATCH v2 net-next] net: sock: do not set sk_cookie in sk_clone_lock()

2019-01-19 Thread David Miller
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.

[PATCH v2 net-next] net: sock: do not set sk_cookie in sk_clone_lock()

2019-01-17 Thread Yafang Shao
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