linux/drivers/net/bonding
Veaceslav Falico 6db4a54593 bonding: always update last_arp_rx on packet recieve
Currently we're updating the last_arp_rx only when we've validate the
packet, however afterwards we use it as 'ANY last packet received', but not
only validated ARPs.

Fix this by updating it in case of any packet received. It won't break the
arp_validation=0 because we, anyway, return the correct slave->dev->last_rx in
slave_last_rx().

CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-02-18 16:47:14 -05:00
..
Makefile bonding: add sysfs /slave dir for bond slave devices. 2014-01-17 18:51:58 -08:00
bond_3ad.c bonding: Convert memcpy(foo, bar, ETH_ALEN) to ether_addr_copy(foo, bar) 2014-02-17 00:29:23 -05:00
bond_3ad.h bonding: Convert c99 comments 2014-02-17 00:29:23 -05:00
bond_alb.c bonding: Convert memcpy(foo, bar, ETH_ALEN) to ether_addr_copy(foo, bar) 2014-02-17 00:29:23 -05:00
bond_alb.h drivers/net/*: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
bond_debugfs.c bonding: Convert pr_warning to pr_warn, neatening 2014-02-17 00:29:23 -05:00
bond_main.c bonding: always update last_arp_rx on packet recieve 2014-02-18 16:47:14 -05:00
bond_netlink.c bonding: Neaten pr_<level> 2014-02-17 00:29:23 -05:00
bond_options.c bonding: permit using arp_validate with non-ab modes 2014-02-18 16:47:14 -05:00
bond_options.h bonding: convert slaves to use the new option API 2014-01-22 15:38:44 -08:00
bond_procfs.c bonding: Neaten pr_<level> 2014-02-17 00:29:23 -05:00
bond_sysfs.c bonding: Neaten pr_<level> 2014-02-17 00:29:23 -05:00
bond_sysfs_slave.c bonding: change name of sysfs dir for bonding slaves 2014-01-22 21:57:05 -08:00
bonding.h bonding: fix locking in bond_loadbalance_arp_mon() 2014-01-28 23:48:33 -08:00