diff options
author | Lubomir Rintel <[email protected]> | 2013-06-18 19:30:48 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-06-19 22:18:52 -0700 |
commit | 451bff2932a69e904f41a180145de1d2358bb8f5 (patch) | |
tree | 138b61ddd6a8624224017c0e313436f7aa48dd2f /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 776fbcc9cbece10756bdb67b48a0798e6446f16b (diff) |
pxa168_eth: Allocate receive queue initialized to zero
Zero pointer in rx_skb or tx_skb is how respective *_deinit() functions find
out that a skb slot is unallocated. If *_init() functions unsuccessfully return
after the allocation (e.g. when subsequent dma_alloc_coherent() is not
successful), this would result in attempt to kfree() invalid pointers.
Signed-off-by: Lubomir Rintel <[email protected]>
Cc: Kosta Zertsekel <[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