netpoll: zap_completion_queue: adjust skb->users counter
authorJarek Poplawski <jarkao2@gmail.com>
Thu, 20 Mar 2008 23:07:27 +0000 (16:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Mar 2008 23:07:27 +0000 (16:07 -0700)
commit8a455b087c9629b3ae3b521b4f1ed16672f978cc
treedb93f743a1d9add48876d9d0ccdbc2696c0f771f
parent2bec008ca9fd009aa503b75344d1c22da9256141
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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netpoll.c