[IPv6] route: Fix prohibit and blackhole routing decision
authorThomas Graf <tgraf@suug.ch>
Thu, 19 Oct 2006 03:46:54 +0000 (20:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Oct 2006 03:46:54 +0000 (20:46 -0700)
commit9ce8ade015a3f82dbdf856df7a685878dd1cc0e1
treedaa2d5f9b335ef9762d9aaa3b91cd07077006640
parent3a31b9d2f2d98667832e87fa1853754ff062d6ef
[IPv6] route: Fix prohibit and blackhole routing decision

Lookups resolving to ip6_blk_hole_entry must result in silently
discarding the packets whereas an ip6_pkt_prohibit_entry is
supposed to cause an ICMPV6_ADM_PROHIBITED message to be sent.

Thanks to Kim Nordlund <kim.nordlund@nokia.com> for noticing
this bug.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c