aboutsummaryrefslogtreecommitdiff
path: root/net/vmw_vsock
diff options
context:
space:
mode:
authorJakub Kicinski2019-10-18 09:16:58 -0700
committerDavid S. Miller2019-10-19 12:12:36 -0700
commite0ad032e144731a5928f2d75e91c2064ba1a764c (patch)
tree0251c77f78c0d1b52918b25f3ab5141643474db8 /net/vmw_vsock
parenta7fa12d15855904aff1716e1fc723c03ba38c5cc (diff)
net: netem: correct the parent's backlog when corrupted packet was dropped
If packet corruption failed we jump to finish_segs and return NET_XMIT_SUCCESS. Seeing success will make the parent qdisc increment its backlog, that's incorrect - we need to return NET_XMIT_DROP. Fixes: 6071bd1aa13e ("netem: Segment GSO packets on enqueue") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/vmw_vsock')
0 files changed, 0 insertions, 0 deletions