Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1739352

Re: [PATCH v4 2/3] ipv4: Namespaceify tcp_fastopen_key knob

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v4 2/3] ipv4: Namespaceify tcp_fastopen_key knob
Date 2017-09-26 01:30 +0200
Message-ID <utKZ4-4P8-19@gated-at.bofh.it> (permalink)
References <uswv7-6Hm-7@gated-at.bofh.it> <uswv8-6Hm-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 1/3] ipv4: Namespaceify tcp_fastopen knob Haishuang Yan <yanhaishuang@cmss.chinamobile.com> - 2017-09-22 15:50 +0200
  [PATCH v4 3/3] ipv4: Namespaceify tcp_fastopen_blackhole_timeout knob Haishuang Yan <yanhaishuang@cmss.chinamobile.com> - 2017-09-22 15:50 +0200
  [PATCH v4 2/3] ipv4: Namespaceify tcp_fastopen_key knob Haishuang Yan <yanhaishuang@cmss.chinamobile.com> - 2017-09-22 15:50 +0200
    Re: [PATCH v4 2/3] ipv4: Namespaceify tcp_fastopen_key knob David Miller <davem@davemloft.net> - 2017-09-26 01:30 +0200
      Re: [PATCH v4 2/3] ipv4: Namespaceify tcp_fastopen_key knob 严海双 <yanhaishuang@cmss.chinamobile.com> - 2017-09-26 03:30 +0200

csiph-web