sit: use kfree_skb to replace dev_kfree_skb
authorGao feng <gaofeng@cn.fujitsu.com>
Mon, 25 Nov 2013 09:21:24 +0000 (17:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Nov 2013 23:34:13 +0000 (18:34 -0500)
commit66028310aedc782e3a9a221f1a9ec12b7e587e50
tree417c7b48ccce11014ba87262aaaedd645b8bc874
parentcd3e22b75c01fe1e075d91504b29019a05d8d373
sit: use kfree_skb to replace dev_kfree_skb

In failure case, we should use kfree_skb not
dev_kfree_skb to free skbuff, dev_kfree_skb
is defined as consume_skb.

Trace takes advantage of this point.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/sit.c