]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: add special mode forwarding=2 to send RS while configured as router
authorThomas Graf <tgraf@infradead.org>
Fri, 3 Sep 2010 03:04:20 +0000 (03:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Sep 2010 16:43:14 +0000 (09:43 -0700)
commit52e66aa61f214de3390ff00232640cc01bd599e8
treef2271f01bae9c3d5c0557a550d62757b0061bf63
parentebacdfad8c73493a24ebeac50a5a53cb3da6ef01
ipv6: add special mode forwarding=2 to send RS while 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>
net/ipv6/addrconf.c