From: stephen hemminger Date: Tue, 27 Apr 2010 07:13:06 +0000 (+0000) Subject: bridge: use is_multicast_ether_addr X-Git-Tag: upstream/snapshot3+hdmi~14568^2~376 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7180f7751d5a1b6f1ef40285b5e928970cdd5306;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git bridge: use is_multicast_ether_addr Use existing inline function. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index 5b8a6e7..8259940 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) 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;