]> git.baikalelectronics.ru Git - kernel.git/commit
veth: Add updating of trans_start
authorJay Vosburgh <jay.vosburgh@canonical.com>
Thu, 16 Jun 2022 19:26:30 +0000 (12:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Jun 2022 10:38:09 +0000 (11:38 +0100)
commitca626fa5ed4166b134d2545ead4cf00b44f1a553
tree4c75e70f1c382af77a2d962e11680e08b102d474
parent474d829992d498307fb418ac59bb14f15e058e93
veth: Add updating of trans_start

Since commit b5aad588bf50 ("bonding: Fix ARP monitor validation"),
the bonding ARP / ND link monitors depend on the trans_start time to
determine link availability.  NETIF_F_LLTX drivers must update trans_start
directly, which veth does not do.  This prevents use of the ARP or ND link
monitors with veth interfaces in a bond.

Resolve this by having veth_xmit update the trans_start time.

Reported-by: Jonathan Toppins <jtoppins@redhat.com>
Tested-by: Jonathan Toppins <jtoppins@redhat.com>
Signed-off-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Fixes: b5aad588bf50 ("bonding: Fix ARP monitor validation")
Link: https://lore.kernel.org/netdev/b2fd4147-8f50-bebd-963a-1a3e8d1d9715@redhat.com/
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c