aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorStephane Grosjean <s.grosjean@peak-system.com>2014-05-20 11:38:56 +0200
committerBen Hutchings <ben@decadent.org.uk>2014-06-09 13:29:14 +0100
commitf15c1e78cd172ba3a1e5049efcc8fbcb54198234 (patch)
tree73724b880765c84887484e440ab2246f9327bc25 /fs
parentb0bcd33beba3ebaceda3524e9872f106fde868de (diff)
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> [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions