Skip to content
Commit 8a455b08 authored by Jarek Poplawski's avatar Jarek Poplawski Committed by David S. Miller
Browse files

netpoll: zap_completion_queue: adjust skb->users counter



zap_completion_queue() retrieves skbs from completion_queue where they have
zero skb->users counter.  Before dev_kfree_skb_any() it should be non-zero
yet, so it's increased now.

Reported-and-tested-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJarek Poplawski <jarkao2@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2bec008c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment