summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorStephane Grosjean <s.grosjean@peak-system.com>2014-05-20 11:38:56 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-30 20:09:40 -0700
commit163cdc967af5001829d377017bf1e4defb2879f4 (patch)
tree745d7ae36528d6e8b3ab8155b65cd175f63c531e /net
parent7ab9233c18a4413c7db130c96aa16fae89e06547 (diff)
downloadlinux-3.10-163cdc967af5001829d377017bf1e4defb2879f4.tar.gz
linux-3.10-163cdc967af5001829d377017bf1e4defb2879f4.tar.bz2
linux-3.10-163cdc967af5001829d377017bf1e4defb2879f4.zip
can: peak_pci: prevent use after free at netdev removal
commit 0b5a958cf4df3a5cd578b861471e62138f55c85e upstream. 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. Reported-by: Christopher R. Baker <cbaker@rec.ri.cmu.edu> Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions