aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2014-11-18 05:20:41 +0000
committerDavid S. Miller <[email protected]>2014-11-19 19:43:47 +0000
commitbaeababb5b85d5c4e6c917efe2a1504179438d3b (patch)
treed6d49a06b241812b5f1955bc4ef417d6aba3bb8a /net/ipv4/tcp_output.c
parenticmp: Remove some spurious dropped packet profile hits from the ICMP path (diff)
downloadkernel-baeababb5b85d5c4e6c917efe2a1504179438d3b.tar.gz
kernel-baeababb5b85d5c4e6c917efe2a1504179438d3b.zip
tun: return NET_XMIT_DROP for dropped packets
After commit 5d097109257c03a71845729f8db6b5770c4bbedc ("tun: only queue packets on device"), NETDEV_TX_OK was returned for dropped packets. This will confuse pktgen since dropped packets were counted as sent ones. Fixing this by returning NET_XMIT_DROP to let pktgen count it as error packet. Cc: Michael S. Tsirkin <[email protected]> Signed-off-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions