summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2013-03-04 00:46:46 +0400
committerBen Hutchings <ben@decadent.org.uk>2013-03-27 06:40:56 +0400
commitcbfa00d4430c5e630d61e09f90268d6e3a07a91f (patch)
tree0b989a2d2c76f181e1de41e5dcdfa11c31451e7e /net/ipv4/tcp_input.c
parent7bdd7e6212cee9ec813c96e9250b922313641c9e (diff)
downloadlinux-cbfa00d4430c5e630d61e09f90268d6e3a07a91f.tar.xz
net: ipv6: Don't purge default router if accept_ra=2
[ Upstream commit 3e8b0ac3e41e3c882222a5522d5df7212438ab51 ] Setting net.ipv6.conf.<interface>.accept_ra=2 causes the kernel to accept RAs even when forwarding is enabled. However, enabling forwarding purges all default routes on the system, breaking connectivity until the next RA is received. Fix this by not purging default routes on interfaces that have accept_ra=2. Signed-off-by: Lorenzo Colitti <lorenzo@google.com> Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions