-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/vmxnet3: fix drop of empty segments in Tx
[ upstream commit b44f3e1381f3910be50d03c784f5c073c25245dd ] When empty segments are dropped, some descriptor variable values are updated in the segment processing loop before it is exited. This can lead to a wedged queue where all subsequent packets are dropped for this queue. Also move the check for empty packet to catch the case of a zero length packet with multiple segments. Fixes: d863f19 ("net/vmxnet3: skip empty segments in transmission") Signed-off-by: Ronak Doshi <doshir@vmware.com> Acked-by: Jochen Behrens <jbehrens@vmware.com>
- Loading branch information
Showing
1 changed file
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters