summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_minisocks.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-10-26 21:55:02 -0700
committerDavid S. Miller <davem@davemloft.net>2017-10-27 16:35:42 +0900
commit625357aa175c688d219da43c8cfaa2e1629e0e1a (patch)
treea80baade384ce0fb8c7e22429eb6a2aa4621ca53 /net/ipv4/tcp_minisocks.c
parent3f4c7c6f6a9053493ce7dd8a0f17ed8eafc53893 (diff)
downloadlinux-625357aa175c688d219da43c8cfaa2e1629e0e1a.tar.gz
linux-625357aa175c688d219da43c8cfaa2e1629e0e1a.tar.bz2
linux-625357aa175c688d219da43c8cfaa2e1629e0e1a.zip
tcp: Namespace-ify sysctl_tcp_rfc1337
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_minisocks.c')
-rw-r--r--net/ipv4/tcp_minisocks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c
index 056009f1c14f..11836667763c 100644
--- a/net/ipv4/tcp_minisocks.c
+++ b/net/ipv4/tcp_minisocks.c
@@ -181,7 +181,7 @@ tcp_timewait_state_process(struct inet_timewait_sock *tw, struct sk_buff *skb,
* Oh well... nobody has a sufficient solution to this
* protocol bug yet.
*/
- if (sysctl_tcp_rfc1337 == 0) {
+ if (twsk_net(tw)->ipv4.sysctl_tcp_rfc1337 == 0) {
kill:
inet_twsk_deschedule_put(tw);
return TCP_TW_SUCCESS;