]> err.no Git - linux-2.6/commit
[BRIDGE]: Unshare skb upon entry
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 14 Oct 2007 07:39:01 +0000 (00:39 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 15 Oct 2007 19:26:27 +0000 (12:26 -0700)
commit7b995651e373d6424f81db23f2ec503306dfd7f0
tree6d41d29bce9e46d33f2a21d4fd2fa279e6e9730d
parentf697c3e8b35c18b2698d64137c0fa84b0cdb3d10
[BRIDGE]: Unshare skb upon entry

Due to the special location of the bridging hook, it should never see a
shared packet anyway (certainly not with any in-kernel code).  So it
makes sense to unshare the skb there if necessary as that will greatly
simplify the code below it (in particular, netfilter).

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