diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 16:44:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 16:44:43 -0500 |
commit | 58dc125a66145f45f239cd78db9410062dc0bcd4 (patch) | |
tree | 90537ddf035e96ca3182f61755ed234de93b449b /net/atm/mpc.c | |
parent | c544bdb1999e04eb10035f1c3262a103859d94b2 (diff) | |
parent | 8a4c8a96a47c9e2f08156fd9664974df086eed50 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'net/atm/mpc.c')
-rw-r--r-- | net/atm/mpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/mpc.c b/net/atm/mpc.c index 526d9531411..36b7ae36023 100644 --- a/net/atm/mpc.c +++ b/net/atm/mpc.c | |||
@@ -552,7 +552,7 @@ static int mpc_send_packet(struct sk_buff *skb, struct net_device *dev) | |||
552 | goto non_ip; /* Multi-Protocol Over ATM :-) */ | 552 | goto non_ip; /* Multi-Protocol Over ATM :-) */ |
553 | 553 | ||
554 | while (i < mpc->number_of_mps_macs) { | 554 | while (i < mpc->number_of_mps_macs) { |
555 | if (memcmp(eth->h_dest, (mpc->mps_macs + i*ETH_ALEN), ETH_ALEN) == 0) | 555 | if (!compare_ether_addr(eth->h_dest, (mpc->mps_macs + i*ETH_ALEN))) |
556 | if ( send_via_shortcut(skb, mpc) == 0 ) /* try shortcut */ | 556 | if ( send_via_shortcut(skb, mpc) == 0 ) /* try shortcut */ |
557 | return 0; /* success! */ | 557 | return 0; /* success! */ |
558 | i++; | 558 | i++; |