bonding: Fix time comparison
authorDavid Sterba <dsterba@suse.cz>
Fri, 7 Dec 2007 07:40:33 +0000 (23:40 -0800)
committerJeff Garzik <jeff@garzik.org>
Fri, 7 Dec 2007 20:00:30 +0000 (15:00 -0500)
commitb63bb739a1d24f395c09f88ff43c54c736a60453
tree27aec1b4779f6bfd9c6d4c393ae037c665069220
parent8e4b9329080b7c37e3dcf4a7c435657d4d0f4816
bonding: Fix time comparison

From: David Sterba <dsterba@suse.cz>

Use macros for comparing jiffies. Jiffies' wrap caused missed events and hangs.
Module reinsert was needed to make bonding work again.

Signed-off-by: David Sterba <dsterba@suse.cz>
Acked-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/bonding/bond_main.c