Thread (8 messages) 8 messages, 2 authors, 2011-09-16

Re: [PATCH] ipv6: Send ICMPv6 RSes only when RAs are accepted

flat view

From: David Miller <davem@davemloft.net>
Date: 2011-09-16 21:16:11

From: Tore Anderson <redacted>
Date: Mon, 29 Aug 2011 14:08:33 +0200
The change also makes "Hybrid Router" forwarding mode ("forwarding"
sysctl set to 2) redundant, as the only thing that distinguished it from
the standard Router mode (forwarding=1) was that RSes was being sent. It
has therefore been removed.
You're not removing "accept_ra==2", it's still there in the test:
quoted hunk ↗ jump to hunk
-	if ((ifp->idev->cnf.forwarding == 0 ||
-	     ifp->idev->cnf.forwarding == 2) &&
+	if (((ifp->idev->cnf.accept_ra == 1 && !ifp->idev->cnf.forwarding) ||
+	     ifp->idev->cnf.accept_ra == 2) &&
And it does provide it's own unique behavior compared to
"accept_ra==1".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help