diff options
author | David Ahern <dsahern@gmail.com> | 2018-01-24 19:45:29 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-25 16:22:02 -0500 |
commit | 955ec4cb3b54c7c389a9f830be7d3ae2056b9212 (patch) | |
tree | dfce42ecd2ae158579862cd41f2d6320a5536245 /drivers/md/dm-zoned-target.c | |
parent | bfd4b329acd5159077603d3f1873a7d761236d25 (diff) | |
download | blackbird-obmc-linux-955ec4cb3b54c7c389a9f830be7d3ae2056b9212.tar.gz blackbird-obmc-linux-955ec4cb3b54c7c389a9f830be7d3ae2056b9212.zip |
net/ipv6: Do not allow route add with a device that is down
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 <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/md/dm-zoned-target.c')
0 files changed, 0 insertions, 0 deletions