ipv6: correct return on ipv6_rcv() packet drop
authorMark Smith <lk-netdev@lk-netdev.nosense.org>
Mon, 6 Jul 2009 11:26:24 +0000 (11:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jul 2009 01:07:55 +0000 (18:07 -0700)
commit5c91face51d29f553a444d16db4ac2c6162a3cd0
tree093ded3ec890769486ff4a8560ccb4e7654769dc
parentb7cb8c2c8275ab081b97610b13a83c80904571a6
ipv6: correct return on ipv6_rcv() packet drop

The routine ipv6_rcv() uses magic number 0 for a return when it drops a
packet. This corresponds to NET_RX_SUCCESS, which is obviously
incorrect. Correct this by using NET_RX_DROP instead.

ps. It isn't exactly clear who the IPv6 maintainers are, apologies if
I've missed any.

Signed-off-by: Mark Smith <markzzzsmith@yahoo.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_input.c