]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/net/hamradio/bpqether.c
Merge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg...
[mirror_ubuntu-artful-kernel.git] / drivers / net / hamradio / bpqether.c
index f91bf0ddf031a077b89d961ca5cb16c87f8321ac..d50b23cf9ea922e66495c68db0fd3fb830815ec2 100644 (file)
@@ -208,7 +208,7 @@ static int bpq_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_ty
        eth = eth_hdr(skb);
 
        if (!(bpq->acpt_addr[0] & 0x01) &&
-           memcmp(eth->h_source, bpq->acpt_addr, ETH_ALEN))
+           !ether_addr_equal(eth->h_source, bpq->acpt_addr))
                goto drop_unlock;
 
        if (skb_cow(skb, sizeof(struct ethhdr)))