diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-09-16 16:20:48 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-09-16 16:20:48 -0700 |
commit | e081e1e3ef4682802ac63b1e5e26158fb9ca9e90 (patch) | |
tree | c43b403bd09c209df7f093810b68e672dcc6330b /net/bridge/br_device.c | |
parent | 9355ec23397af32799038d0e8edbfa5b6f425c27 (diff) | |
download | op-kernel-dev-e081e1e3ef4682802ac63b1e5e26158fb9ca9e90.zip op-kernel-dev-e081e1e3ef4682802ac63b1e5e26158fb9ca9e90.tar.gz |
[BRIDGE]: Kill clone argument to br_flood_*
The clone argument is only used by one caller and that caller can clone
the packet itself. This patch moves the clone call into the caller and
kills the clone argument.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_device.c')
-rw-r--r-- | net/bridge/br_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index 0eded17..99292e8 100644 --- a/net/bridge/br_device.c +++ b/net/bridge/br_device.c @@ -41,11 +41,11 @@ int br_dev_xmit(struct sk_buff *skb, struct net_device *dev) skb_pull(skb, ETH_HLEN); if (dest[0] & 1) - br_flood_deliver(br, skb, 0); + br_flood_deliver(br, skb); else if ((dst = __br_fdb_get(br, dest)) != NULL) br_deliver(dst->dst, skb); else - br_flood_deliver(br, skb, 0); + br_flood_deliver(br, skb); return 0; } |