From: Haishuang Yan <yanhaishu...@cmss.chinamobile.com> Date: Fri, 22 Sep 2017 21:48:43 +0800
> @@ -9,13 +9,18 @@ > #include <net/inetpeer.h> > #include <net/tcp.h> > > -struct tcp_fastopen_context __rcu *tcp_fastopen_ctx; > - > -static DEFINE_SPINLOCK(tcp_fastopen_ctx_lock); > - > -void tcp_fastopen_init_key_once(bool publish) > +void tcp_fastopen_init_key_once(struct net *net) Why did you remove the 'publish' logic from this function?