bridge: Use BR_INPUT_SKB_CB on xmit path
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 27 Feb 2010 19:41:42 +0000 (19:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Feb 2010 08:48:44 +0000 (00:48 -0800)
commit6088a539d8d1666dca6979b5759bf966ee9124ef
tree84adf98d3efb8dc71563c2b717b8aa1b781bb560
parentb33084be192ee1e347d98bb5c9e38a53d98d35e2
bridge: Use BR_INPUT_SKB_CB on xmit path

this patch makes BR_INPUT_SKB_CB available on the xmit path so
that we could avoid passing the br pointer around for the purpose
of collecting device statistics.

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