ipv6: do not erase dst address with flow label destination
authorFlorent Fourcot <florent.fourcot@enst-bretagne.fr>
Tue, 10 Dec 2013 14:15:46 +0000 (15:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 03:51:00 +0000 (22:51 -0500)
commitce7a3bdf18a8dbcba1409f5d335c56fde432ca89
tree09920c6ad1d400ddc0c92570786c0af9bef537c0
parent9f70f46bd4c7267d48ef461a1d613ec9ec0d520c
ipv6: do not erase dst address with flow label destination

This patch is following b579035ff766c9412e2b92abf5cab794bff102b6
"ipv6: remove old conditions on flow label sharing"

Since there is no reason to restrict a label to a
destination, we should not erase the destination value of a
socket with the value contained in the flow label storage.

This patch allows to really have the same flow label to more
than one destination.

Signed-off-by: Florent Fourcot <florent.fourcot@enst-bretagne.fr>
Reviewed-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ipv6.c
net/ipv6/datagram.c
net/ipv6/raw.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c
net/l2tp/l2tp_ip6.c