aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorLubomir Rintel <[email protected]>2013-06-18 19:32:38 +0200
committerDavid S. Miller <[email protected]>2013-06-19 22:18:52 -0700
commit9fa8e980bb0a56e46ddd97731f83f608c39aa7a5 (patch)
tree7070f43ce5b1b0396938c2559820f4f7a6c34427 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent451bff2932a69e904f41a180145de1d2358bb8f5 (diff)
mv643xx_eth: Allocate receive queue initialized to zero
Zero pointer in rx_skb is how respective rxq_deinit() finds out out that a skb slot is unallocated. If rxq_refill() fails (e.g. on OOM condition), subsequent teardown would result in an attempt to kfree() invalid pointers. Signed-off-by: Lubomir Rintel <[email protected]> Cc: Lennert Buytenhek <[email protected]> Cc: [email protected] Cc: [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