]> 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)
commit4437a93f640f529688d8098f78e43f5ac8aa4df7
tree5d1540325ac32853f85625cdb0262934f8244dbc
parent121e13a3d1044688891adf5610e6c5f8f0ce653b
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