[PATCH] bonding: ARP monitoring broken on x86_64
commit3002052b6358f932cbe381007ad20c76d5e4dca9
authorAndy Gospodarek <andy@greyhouse.net>
Mon, 29 Jan 2007 20:08:38 +0000 (29 12:08 -0800)
committerChris Wright <chrisw@sous-sol.org>
Mon, 5 Feb 2007 16:31:44 +0000 (5 08:31 -0800)
treef7805f3e4935e5c4c8b3461d822e767b747dccb2
parent9f8dc7500aa31654329ddb7596fd0f2f91817251
[PATCH] 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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/net/bonding/bonding.h