bonding: ARP monitoring broken on x86_64
authorAndy Gospodarek <andy@greyhouse.net>
Mon, 29 Jan 2007 20:08:38 +0000 (12:08 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 30 Jan 2007 14:36:02 +0000 (09:36 -0500)
commitf8a8ccd56d82bd4f4b5c7c2e7eb758c7764d98e1
tree6358595d1471b15ec6332f076244d7472118bcc1
parentd4150a2731615de5cd4527a23435aaa7396c63c6
bonding: ARP monitoring broken on x86_64

While working with the latest bonding code I noticed a nasty problem that
will prevent arp monitoring from always functioning correctly on x86_64
systems.  Comparing ints to longs and expecting reliable results on x86_64
is a bad idea.  With this patch, arp monitoring works correctly again.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Stephen Hemminger <shemminger@osdl.org>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/bonding/bonding.h