diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-04-27 03:13:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-27 15:53:24 -0400 |
commit | 7180f7751d5a1b6f1ef40285b5e928970cdd5306 (patch) | |
tree | 5268bca14d3761439c3eb1799aad4c5b890a1971 /net/bridge | |
parent | e1703b36c358dde24ececba4fd609ecd91433ba3 (diff) |
bridge: use is_multicast_ether_addr
Use existing inline function.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index 5b8a6e73b02f..82599405dc15 100644 --- 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) | |||
36 | skb_reset_mac_header(skb); | 36 | skb_reset_mac_header(skb); |
37 | skb_pull(skb, ETH_HLEN); | 37 | skb_pull(skb, ETH_HLEN); |
38 | 38 | ||
39 | if (dest[0] & 1) { | 39 | if (is_multicast_ether_addr(dest)) { |
40 | if (br_multicast_rcv(br, NULL, skb)) | 40 | if (br_multicast_rcv(br, NULL, skb)) |
41 | goto out; | 41 | goto out; |
42 | 42 | ||