aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2013-03-22 19:14:07 +0000
committerDavid S. Miller <[email protected]>2013-03-24 17:27:28 -0400
commit4a7df340ed1bac190c124c1601bfc10cde9fb4fb (patch)
tree40d9d03a585e344d405d25648a5336d9b92721dc /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent9979a55a833883242e3a29f3596676edd7199c46 (diff)
8021q: fix a potential use-after-free
vlan_vid_del() could possibly free ->vlan_info after a RCU grace period, however, we may still refer to the freed memory area by 'grp' pointer. Found by code inspection. This patch moves vlan_vid_del() as behind as possible. Cc: Patrick McHardy <[email protected]> Cc: "David S. Miller" <[email protected]> Signed-off-by: Cong Wang <[email protected]> Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions