diff options
author | Eric Dumazet <edumazet@google.com> | 2014-01-18 21:27:49 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-19 02:08:02 -0500 |
commit | 3acfa1e73c2a2cbf1fda7aef0c6c2c9281ce9db2 (patch) | |
tree | fe1408f38e919765475eff46fdd357be1e374f9f /net/ipv4/ipip.c | |
parent | 342dfc306fb32155314dad277f3c3686b83fb9f1 (diff) |
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/ipip.c')
-rw-r--r-- | net/ipv4/ipip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c index fe3e9f7f1f0b..812b18351462 100644 --- a/net/ipv4/ipip.c +++ b/net/ipv4/ipip.c | |||
@@ -228,7 +228,7 @@ static netdev_tx_t ipip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev) | |||
228 | return NETDEV_TX_OK; | 228 | return NETDEV_TX_OK; |
229 | 229 | ||
230 | tx_error: | 230 | tx_error: |
231 | dev_kfree_skb(skb); | 231 | kfree_skb(skb); |
232 | out: | 232 | out: |
233 | dev->stats.tx_errors++; | 233 | dev->stats.tx_errors++; |
234 | return NETDEV_TX_OK; | 234 | return NETDEV_TX_OK; |