]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: Partially disable netpoll support
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 19 Jul 2010 19:26:45 +0000 (19:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jul 2010 06:28:25 +0000 (23:28 -0700)
commitac20128c49e36b1bf30dbbf10bb13887cb850989
tree3fdd5cd05e26fdfe38d5d1a72b4d4aa41ecd181f
parentaee6b3eac9a9660511d7c97ce5f9e383f2eb1a25
bridge: Partially disable netpoll support

The new netpoll code in bridging contains use-after-free bugs
that are non-trivial to fix.

This patch fixes this by removing the code that uses skbs after
they're freed.

As a consequence, this means that we can no longer call bridge
from the netpoll path, so this patch also removes the controller
function in order to disable netpoll.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Thanks,
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c
net/bridge/br_forward.c