diff options
author | Eric Dumazet <edumazet@google.com> | 2014-01-19 03:27:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-19 08:08:02 +0100 |
commit | 3acfa1e73c2a2cbf1fda7aef0c6c2c9281ce9db2 (patch) | |
tree | fe1408f38e919765475eff46fdd357be1e374f9f /net/ipv4/ip_vti.c | |
parent | net: add build-time checks for msg->msg_name size (diff) | |
download | linux-3acfa1e73c2a2cbf1fda7aef0c6c2c9281ce9db2.tar.xz linux-3acfa1e73c2a2cbf1fda7aef0c6c2c9281ce9db2.zip |
ipv4: be friend with drop monitor
Replace some dev_kfree_skb() with kfree_skb() calls when
we drop one skb, this might help bug tracking.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_vti.c')
-rw-r--r-- | net/ipv4/ip_vti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_vti.c b/net/ipv4/ip_vti.c index 0783200ad8d2..48eafae51769 100644 --- a/net/ipv4/ip_vti.c +++ b/net/ipv4/ip_vti.c @@ -162,7 +162,7 @@ tx_error_icmp: dst_link_failure(skb); tx_error: dev->stats.tx_errors++; - dev_kfree_skb(skb); + kfree_skb(skb); return NETDEV_TX_OK; } |