aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorStephane Grosjean <[email protected]>2014-05-20 09:38:56 +0000
committerMarc Kleine-Budde <[email protected]>2014-05-21 06:17:03 +0000
commit0b5a958cf4df3a5cd578b861471e62138f55c85e (patch)
treebe02fbf4f83f6a1a9c89239951c6da0ba6720355 /drivers/net/xen-netback/interface.c
parentip_tunnel: Initialize the fallback device properly (diff)
downloadkernel-0b5a958cf4df3a5cd578b861471e62138f55c85e.tar.gz
kernel-0b5a958cf4df3a5cd578b861471e62138f55c85e.zip
can: peak_pci: prevent use after free at netdev removal
As remarked by Christopher R. Baker in his post at http://marc.info/?l=linux-can&m=139707295706465&w=2 there's a possibility for an use after free condition at device removal. This simplified patch introduces an additional variable to prevent the issue. Thanks for catching this. Cc: linux-stable <[email protected]> Reported-by: Christopher R. Baker <[email protected]> Signed-off-by: Stephane Grosjean <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions