IPv6: Fixed support for blackhole and prohibit routes
authorKamala R <kamala@aristanetworks.com>
Mon, 2 Dec 2013 14:25:21 +0000 (19:55 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Dec 2013 22:14:27 +0000 (17:14 -0500)
The behaviour of blackhole and prohibit routes has been corrected by setting
the input and output pointers of the dst variable appropriately. For
blackhole routes, they are set to dst_discard and to ip6_pkt_discard and
ip6_pkt_discard_out respectively for prohibit routes.

ipv6: ip6_pkt_prohibit(_out) should not depend on
CONFIG_IPV6_MULTIPLE_TABLES

We need ip6_pkt_prohibit(_out) available without
CONFIG_IPV6_MULTIPLE_TABLES

Signed-off-by: Kamala R <kamala@aristanetworks.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c

Simple merge