net: remove zap_completion_queue
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 19 May 2010 23:16:03 +0000 (23:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 May 2010 07:24:01 +0000 (00:24 -0700)
commit15e83ed78864d0625e87a85f09b297c0919a4797
treea138efc4400c0857a9728f7ebbfe4f5c4fb71ad1
parent27f39c73e63833b4c081a0d681d88b4184a0491d
net: remove zap_completion_queue

netpoll does an interesting work in zap_completion_queue(), but this was
before we did skb orphaning before delivering packets to device.

It now makes sense to add a test in dev_kfree_skb_irq() to not queue a
skb if already orphaned, and to remove netpoll zap_completion_queue() as
a bonus.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
net/core/netpoll.c