summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorScott Feldman2015-06-13 06:09:44 +0200
committerDavid S. Miller2015-06-16 01:03:48 +0200
commita07203108494d00efdd8f2fcbf9f2f4f63110e60 (patch)
tree436cf4f6384181f77dfc54710617b30e1543df3d /scripts
parentnet: make u64_stats_init() a function (diff)
downloadkernel-qcow2-linux-a07203108494d00efdd8f2fcbf9f2f4f63110e60.tar.gz
kernel-qcow2-linux-a07203108494d00efdd8f2fcbf9f2f4f63110e60.tar.xz
kernel-qcow2-linux-a07203108494d00efdd8f2fcbf9f2f4f63110e60.zip
rocker: gaurd against NULL rocker_port when removing ports
The ports array is filled in as ports are probed, but if probing doesn't finish, we need to stop only those ports that where probed successfully. Check the ports array for NULL to skip un-probed ports when stopping. Signed-off-by: Scott Feldman <sfeldma@gmail.com> Acked-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions