projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/net/bridge/br_device.c
b/net/bridge/br_device.c
index 5b8a6e73b02fb11d043ed21391220c658026ffab..82599405dc150bfdcf4d53eaefc7a4501322c6e9 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;