commit | b33084be192ee1e347d98bb5c9e38a53d98d35e2 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Sat Feb 27 19:41:41 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 28 00:48:43 2010 -0800 |
tree | 940c62309437ca5fa087275bc64b4ffd677c79c3 | |
parent | 68b7c895be336b19f4c38d7cb500132fabba0afd [diff] |
bridge: Avoid unnecessary clone on forward path When the packet is delivered to the local bridge device we may end up cloning it unnecessarily if no bridge port can receive the packet in br_flood. This patch avoids this by moving the skb_clone into br_flood. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>