aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorRick Lindsley <[email protected]>2022-07-02 03:37:12 -0700
committerDavid S. Miller <[email protected]>2022-07-04 11:09:57 +0100
commit1b18f09d31cfa7148df15a7d5c5e0e86f105f7d1 (patch)
treef79a0e1940c77483593c0278d916bc1cf9c02ee6 /lib/netdev-notifier-error-inject.c
parentea1c3b77bc0b2a414496b3fe988f3abba33db288 (diff)
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 <[email protected]> Reviewed-by: Brian King <[email protected]> Signed-off-by: Rick Lindsley <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions