diff options
| author | Thomas Falcon <[email protected]> | 2018-02-20 02:12:57 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-02-20 19:31:11 +0000 |
| commit | abe27a885d9e6575e663a16176dabc58ce9d7188 (patch) | |
| tree | 2da2d624cb62195bb7530579a7b9f7b1fd679d8b /net/sched/cls_api.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff) | |
| download | kernel-abe27a885d9e6575e663a16176dabc58ce9d7188.tar.gz kernel-abe27a885d9e6575e663a16176dabc58ce9d7188.zip | |
ibmvnic: Check for NULL skb's in NAPI poll routine
After introduction of commit d0869c0071e4, there were some instances of
RX queue entries from a previous session (before the device was closed
and reopened) returned to the NAPI polling routine. Since the corresponding
socket buffers were freed, this resulted in a panic on reopen. Include
a check for a NULL skb here to avoid this.
Fixes: d0869c0071e4 ("ibmvnic: Clean RX pool buffers during device close")
Signed-off-by: Thomas Falcon <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions
