]> bbs.cooldavid.org Git - net-next-2.6.git/commit
Revert "net: remove zap_completion_queue"
authorDavid S. Miller <davem@davemloft.net>
Tue, 3 Aug 2010 07:24:04 +0000 (00:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Aug 2010 07:24:04 +0000 (00:24 -0700)
commit3578b0c8abc7bdb4f02152ce5db7e09d484c6866
treea884f8467e5700b798d52a038d56f99ee5bd73f1
parenta427615e0420f179eab801b929111abaadea2ed3
Revert "net: remove zap_completion_queue"

This reverts commit 15e83ed78864d0625e87a85f09b297c0919a4797.

As explained by Johannes Berg, the optimization made here is
invalid.  Or, at best, incomplete.

Not only destructor invocation, but conntract entry releasing
must be executed outside of hw IRQ context.

So just checking "skb->destructor" is insufficient.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
net/core/netpoll.c