projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1703b3
)
bridge: use is_multicast_ether_addr
author
stephen hemminger
<shemminger@vyatta.com>
Tue, 27 Apr 2010 07:13:06 +0000
(07:13 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 27 Apr 2010 19:53:24 +0000
(12:53 -0700)
Use existing inline function.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c
patch
|
blob
|
history
diff --git
a/net/bridge/br_device.c
b/net/bridge/br_device.c
index
5b8a6e7
..
8259940
100644
(file)
--- a/
net/bridge/br_device.c
+++ b/
net/bridge/br_device.c
@@
-36,7
+36,7
@@
netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev)
skb_reset_mac_header(skb);
skb_pull(skb, ETH_HLEN);
- if (
dest[0] & 1
) {
+ if (
is_multicast_ether_addr(dest)
) {
if (br_multicast_rcv(br, NULL, skb))
goto out;