diff options
author | 2009-08-03 21:58:26 +0200 | |
---|---|---|
committer | 2009-08-07 13:09:29 -0400 | |
commit | d25f9f1357139bbdc79bc960ea84909a7c22ec2b (patch) | |
tree | 1224be30813c2af7b0449d1046f2e12c91b16f41 /lib/fault-inject.c | |
parent | ipw2x00: Write outside array bounds (diff) | |
download | wireguard-linux-d25f9f1357139bbdc79bc960ea84909a7c22ec2b.tar.xz wireguard-linux-d25f9f1357139bbdc79bc960ea84909a7c22ec2b.zip |
mwl8k: fix NULL pointer dereference on receive out-of-memory
When we go into out-of-memory and fail to allocate skbuffs to
refill the receive ring with, rxq_process can end up running into
a receive ring entry that is marked as host-owned but doesn't have
an associated skbuff. If this happens, we must break out of the
rx processing loop instead of trying to process the descriptor.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions