]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: remove old conditions on flow label sharing
authorFlorent Fourcot <florent.fourcot@enst-bretagne.fr>
Sat, 2 Nov 2013 13:55:07 +0000 (14:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Nov 2013 19:40:53 +0000 (14:40 -0500)
commitc85a394c90b28efa9e586db281679ba6e24d5d97
treef9587358438178ace6671c96c9ed4b1367497de4
parent7396b6ee898e5209164d37f4a921a3d4f0f34abc
ipv6: remove old conditions on flow label sharing

The code of flow label in Linux Kernel follows
the rules of RFC 1809 (an informational one) for
conditions on flow label sharing. There rules are
not in the last proposed standard for flow label
(RFC 6437), or in the previous one (RFC 3697).

Since this code does not follow any current or
old standard, we can remove it.

With this removal, the ipv6_opt_cmp function is
now a dead code and it can be removed too.

Changelog to v1:
 * add justification for the change
 * remove the condition on IPv6 options

[ Remove ipv6_hdr_cmp and it is now unused as well. -DaveM ]

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>
net/ipv6/ip6_flowlabel.c