aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/act_sample.c
diff options
context:
space:
mode:
authorThomas Falcon <tlfalcon@linux.ibm.com>2019-08-27 11:10:04 -0500
committerDavid S. Miller <davem@davemloft.net>2019-08-28 15:45:40 -0700
commit36f1031c51a2538e5558fb44c6d6b88f98d3c0f2 (patch)
tree659a4ea9c5f3ab608afc8bfb22a06d249d501957 /net/sched/act_sample.c
parentopenvswitch: Clear the L4 portion of the key for "later" fragments. (diff)
downloadlinux-dev-36f1031c51a2538e5558fb44c6d6b88f98d3c0f2.tar.xz
linux-dev-36f1031c51a2538e5558fb44c6d6b88f98d3c0f2.zip
ibmvnic: Do not process reset during or after device removal
Currently, the ibmvnic driver will not schedule device resets if the device is being removed, but does not check the device state before the reset is actually processed. This leads to a race where a reset is scheduled with a valid device state but is processed after the driver has been removed, resulting in an oops. Fix this by checking the device state before processing a queued reset event. Reported-by: Abdul Haleem <abdhalee@linux.vnet.ibm.com> Tested-by: Abdul Haleem <abdhalee@linux.vnet.ibm.com> Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_sample.c')
0 files changed, 0 insertions, 0 deletions