diff options
author | Veaceslav Falico <vfalico@redhat.com> | 2014-02-18 07:48:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-18 16:47:15 -0500 |
commit | 8e603460fa388c89f08e359366ec9398971cf49c (patch) | |
tree | d6cc17b128b5930f9e965b4cded6d7af95fe925a /drivers/net/bonding/bonding.h | |
parent | f8ff080dacecc5d0ce3579941b664bac3a4405c2 (diff) |
bonding: trivial: rename slave->jiffies to ->last_link_up
slave->jiffies is updated every time the slave becomes active, which, for
bonding, means that its link is 'up'.
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>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r-- | drivers/net/bonding/bonding.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index ae20c5a9d00..36db702d32e 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h @@ -188,7 +188,8 @@ struct slave { struct net_device *dev; /* first - useful for panic debug */ struct bonding *bond; /* our master */ int delay; - unsigned long jiffies; + /* all three in jiffies */ + unsigned long last_link_up; unsigned long last_arp_rx; unsigned long target_last_arp_rx[BOND_MAX_ARP_TARGETS]; s8 link; /* one of BOND_LINK_XXXX */ |