Messages in this thread | | | Date | Mon, 25 Sep 2017 16:24:45 -0700 (PDT) | Subject | Re: [PATCH v4 2/3] ipv4: Namespaceify tcp_fastopen_key knob | From | David Miller <> |
| |
From: Haishuang Yan <yanhaishuang@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?
| |