From: David Ahern <hidden> Date: 2018-01-24 03:13:50
IPv6 allows routes to be installed when the device is not up (admin up).
Worse, it does not mark it as LINKDOWN. IPv4 does not allow it and really
there is no reason for IPv6 to allow it, so check the flags and deny if
device is admin down.
Signed-off-by: David Ahern <redacted>
---
net/ipv6/route.c | 5 +++++
1 file changed, 5 insertions(+)
On Tue, Jan 23, 2018 at 7:13 PM, David Ahern [off-list ref] wrote:
quoted hunk
IPv6 allows routes to be installed when the device is not up (admin up).
Worse, it does not mark it as LINKDOWN. IPv4 does not allow it and really
there is no reason for IPv6 to allow it, so check the flags and deny if
device is admin down.
Signed-off-by: David Ahern <redacted>
---
net/ipv6/route.c | 5 +++++
1 file changed, 5 insertions(+)
On Tue, Jan 23, 2018 at 07:13:43PM -0800, David Ahern wrote:
IPv6 allows routes to be installed when the device is not up (admin up).
Worse, it does not mark it as LINKDOWN. IPv4 does not allow it and really
there is no reason for IPv6 to allow it, so check the flags and deny if
device is admin down.
Signed-off-by: David Ahern <redacted>
I figured people might complain if I change that, but I obviously prefer
to have it like IPv4. Agree with Roopa about the error code.
Thanks