diff options
| author | Hannes Frederic Sowa <[email protected]> | 2013-01-05 16:10:48 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-01-07 05:09:56 +0000 |
| commit | 5d134f1c1f36166e8a738de92c4d2f4c262ff91b (patch) | |
| tree | 6d1504359c7f1ade1c79da0e468a2a409af5c56c /net/ipv6/tcp_ipv6.c | |
| parent | ndisc: Use struct rd_msg for redirect message. (diff) | |
| download | kernel-5d134f1c1f36166e8a738de92c4d2f4c262ff91b.tar.gz kernel-5d134f1c1f36166e8a738de92c4d2f4c262ff91b.zip | |
tcp: make sysctl_tcp_ecn namespace aware
As per suggestion from Eric Dumazet this patch makes tcp_ecn sysctl
namespace aware. The reason behind this patch is to ease the testing
of ecn problems on the internet and allows applications to tune their
own use of ecn.
Cc: Eric Dumazet <[email protected]>
Cc: David Miller <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Signed-off-by: Hannes Frederic Sowa <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
| -rw-r--r-- | net/ipv6/tcp_ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 93825dd3a7c0..3164ad272a74 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -1027,7 +1027,7 @@ static int tcp_v6_conn_request(struct sock *sk, struct sk_buff *skb) treq->rmt_addr = ipv6_hdr(skb)->saddr; treq->loc_addr = ipv6_hdr(skb)->daddr; if (!want_cookie || tmp_opt.tstamp_ok) - TCP_ECN_create_request(req, skb); + TCP_ECN_create_request(req, skb, sock_net(sk)); treq->iif = sk->sk_bound_dev_if; |
