mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[NET]: Use newer is_multicast_ether_addr() in some files
This uses is_multicast_ether_addr() because it has recently been changed to do the same thing these seperate tests are doing. Signed-off-by: Kris Katterjohn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
d99cf9d679
commit
dbbc098828
3 changed files with 3 additions and 3 deletions
|
|
@ -163,7 +163,7 @@ __be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev)
|
|||
skb_pull(skb,ETH_HLEN);
|
||||
eth = eth_hdr(skb);
|
||||
|
||||
if (*eth->h_dest&1) {
|
||||
if (is_multicast_ether_addr(eth->h_dest)) {
|
||||
if (!compare_ether_addr(eth->h_dest, dev->broadcast))
|
||||
skb->pkt_type = PACKET_BROADCAST;
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue