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)
commit573201f36fd9c7c6d5218cdcd9948cee700b277d
tree3fdd5cd05e26fdfe38d5d1a72b4d4aa41ecd181f
parent45e77d314585869dfe43c82679f7e08c9b35b898
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