ipv6: add special mode forwarding=2 to send RS while
commitea626c8fccc5b119bf1d398d99e7ecad4bfc95e2
authorThomas Graf <tgraf@infradead.org>
Fri, 3 Sep 2010 03:04:20 +0000 (3 03:04 +0000)
committerAndi Kleen <ak@linux.intel.com>
Mon, 1 Aug 2011 20:55:04 +0000 (1 13:55 -0700)
tree5fc829067f0c757b867fafdcef6bc3f17a9bb76f
parent22950d253543188b3e6488a0dbd5cad9eb71bef7
ipv6: add special mode forwarding=2 to send RS while

[ upstream commit c3bccac2fa76f1619dfe4fb7b9bee69de7f066d8 ]
 configured as router

Similar to accepting router advertisement, the IPv6 stack does not send router
solicitations if forwarding is enabled.

This patch enables this behavior to be overruled by setting forwarding to the
special value 2.

Signed-off-by: Thomas Graf <tgraf@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
net/ipv6/addrconf.c