]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: propagate transmit status
authorEric Dumazet <edumazet@google.com>
Thu, 7 May 2020 16:32:22 +0000 (09:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 May 2020 01:11:07 +0000 (18:11 -0700)
commitbe55de1775804acae969198282633cc52126a5c6
tree5d1540325ac32853f85625cdb0262934f8244dbc
parent044f3b4567c5ebdee4bf2c44d29123adf28d0d2d
bonding: propagate transmit status

Currently, bonding always returns NETDEV_TX_OK to its caller.

It is worth trying to be more accurate : TCP for instance
can have different recovery strategies if it can have more
precise status, if packet was dropped by slave qdisc.

This is especially important when host is under stress.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jay Vosburgh <j.vosburgh@gmail.com>
Cc: Veaceslav Falico <vfalico@gmail.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_alb.c
drivers/net/bonding/bond_main.c
include/net/bonding.h