]> git.karo-electronics.de Git - linux-beck.git/commit
ipv6: add flowlabel_consistency sysctl
authorFlorent Fourcot <florent.fourcot@enst-bretagne.fr>
Fri, 17 Jan 2014 16:15:05 +0000 (17:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jan 2014 01:12:31 +0000 (17:12 -0800)
commit6444f72b4b74f627c51891101e93ba2b94078b0a
treed5aa20605d13fa3e222e7e1bf1b7b678a295f398
parent46e5f401762c639e38eea350d335c0f54ec2442f
ipv6: add flowlabel_consistency sysctl

With the introduction of IPV6_FL_F_REFLECT, there is no guarantee of
flow label unicity. This patch introduces a new sysctl to protect the old
behaviour, enable by default.

Changelog of V3:
 * rename ip6_flowlabel_consistency to flowlabel_consistency
 * use net_info_ratelimited()
 * checkpatch cleanups

Signed-off-by: Florent Fourcot <florent.fourcot@enst-bretagne.fr>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
include/net/netns/ipv6.h
net/ipv6/af_inet6.c
net/ipv6/ip6_flowlabel.c
net/ipv6/sysctl_net_ipv6.c