summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/esp_scsi.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-01-24 19:45:29 -0800
committerDavid S. Miller <davem@davemloft.net>2018-01-25 16:22:02 -0500
commit955ec4cb3b54c7c389a9f830be7d3ae2056b9212 (patch)
treedfce42ecd2ae158579862cd41f2d6320a5536245 /drivers/scsi/esp_scsi.c
parentbfd4b329acd5159077603d3f1873a7d761236d25 (diff)
downloadblackbird-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/scsi/esp_scsi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud