diff options
-rw-r--r-- | net/802/stp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/802/stp.c b/net/802/stp.c index 15540b7323cd..2c40ba0ec116 100644 --- a/net/802/stp.c +++ b/net/802/stp.c | |||
@@ -46,7 +46,7 @@ static int stp_pdu_rcv(struct sk_buff *skb, struct net_device *dev, | |||
46 | proto = rcu_dereference(garp_protos[eh->h_dest[5] - | 46 | proto = rcu_dereference(garp_protos[eh->h_dest[5] - |
47 | GARP_ADDR_MIN]); | 47 | GARP_ADDR_MIN]); |
48 | if (proto && | 48 | if (proto && |
49 | compare_ether_addr(eh->h_dest, proto->group_address)) | 49 | !ether_addr_equal(eh->h_dest, proto->group_address)) |
50 | goto err; | 50 | goto err; |
51 | } else | 51 | } else |
52 | proto = rcu_dereference(stp_proto); | 52 | proto = rcu_dereference(stp_proto); |