diff options
author | Eric Dumazet <edumazet@google.com> | 2014-01-18 18:27:49 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-18 23:08:02 -0800 |
commit | 3acfa1e73c2a2cbf1fda7aef0c6c2c9281ce9db2 (patch) | |
tree | fe1408f38e919765475eff46fdd357be1e374f9f /net/ipv4/ip_gre.c | |
parent | 342dfc306fb32155314dad277f3c3686b83fb9f1 (diff) | |
download | blackbird-obmc-linux-3acfa1e73c2a2cbf1fda7aef0c6c2c9281ce9db2.tar.gz blackbird-obmc-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_gre.c')
-rw-r--r-- | net/ipv4/ip_gre.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index e560ef34cf4b..e7a92fdb36f6 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c @@ -278,7 +278,7 @@ static netdev_tx_t ipgre_xmit(struct sk_buff *skb, return NETDEV_TX_OK; free_skb: - dev_kfree_skb(skb); + kfree_skb(skb); out: dev->stats.tx_dropped++; return NETDEV_TX_OK; @@ -301,7 +301,7 @@ static netdev_tx_t gre_tap_xmit(struct sk_buff *skb, return NETDEV_TX_OK; free_skb: - dev_kfree_skb(skb); + kfree_skb(skb); out: dev->stats.tx_dropped++; return NETDEV_TX_OK; |