Rick Lindsley 1b18f09d31 ibmvnic: Properly dispose of all skbs during a failover.
During a reset, there may have been transmits in flight that are no
longer valid and cannot be fulfilled.  Resetting and clearing the
queues is insufficient; each skb also needs to be explicitly freed
so that upper levels are not left waiting for confirmation of a
transmit that will never happen.  If this happens frequently enough,
the apparent backlog will cause TCP to begin "congestion control"
unnecessarily, culminating in permanently decreased throughput.

Fixes: d7c0ef36bde03 ("ibmvnic: Free and re-allocate scrqs when tx/rx scrqs change")
Tested-by: Nick Child <nnac123@linux.ibm.com>
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Rick Lindsley <ricklind@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-07-04 11:09:57 +01:00
..
2022-01-09 16:52:18 -08:00
2022-06-13 23:12:39 -07:00
2022-03-04 12:02:19 +00:00
2022-03-04 12:02:19 +00:00
2022-03-24 13:13:26 -07:00
2022-06-27 21:56:35 -07:00
2022-04-05 17:32:05 -07:00
2022-06-04 14:04:27 -07:00
2022-05-16 10:14:27 +01:00
2022-05-05 15:54:12 -07:00
2022-06-27 21:48:51 -07:00
2022-05-25 12:22:58 -07:00
2022-03-04 12:02:19 +00:00
2022-05-05 15:53:28 -07:00
2022-05-05 15:53:28 -07:00