ipv6: drop packets when source address is multicast
authorBrian Haley <brian.haley@hp.com>
Tue, 8 Nov 2011 04:41:42 +0000 (04:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Nov 2011 17:37:06 +0000 (12:37 -0500)
commitc457338d7acd3823e765b684a62294cfda9d2f55
tree7f055d507f54a4223b049bacd15c09b0d5548784
parent10953db8e1a278742ef7e64a3d1491802bcfa98b
ipv6: drop packets when source address is multicast

RFC 4291 Section 2.7 says Multicast addresses must not be used as source
addresses in IPv6 packets - drop them on input so we don't process the
packet further.

Signed-off-by: Brian Haley <brian.haley@hp.com>
Reported-and-Tested-by: Kumar Sanghvi <divinekumar@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_input.c