net: make ipv6 PKTINFO honour freebind
authorMaciej Żenczykowski <maze@google.com>
Mon, 7 Nov 2011 14:57:22 +0000 (14:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Nov 2011 20:13:03 +0000 (15:13 -0500)
commit2563fa595447bba6a73e6c58c4bbf11ac0f28931
tree973f75cb61b84c41e7047bfa759197b3e1e39f22
parentf74024d9f05caa570dcf7582b498bbf011943491
net: make ipv6 PKTINFO honour freebind

This just makes it possible to spoof source IPv6 address on a socket
without having to create and bind a new socket for every source IP
we wish to spoof.

Signed-off-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/datagram.c