]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit4704229a301ca3e52dfc75fd5f07eee15cc61415
treedaa2d5f9b335ef9762d9aaa3b91cd07077006640
parent46334f7717e2b542ed431e55c13a2859b470110f
[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