]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9199b355a8f2a2505b2ef302bbc729aabdcd7d0c
tree7f055d507f54a4223b049bacd15c09b0d5548784
parenta7edda32316fc6e76e15247beaf675f346c5f4f8
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