tipc: use kfree_skb() instead of kfree()
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 23 Aug 2016 23:01:02 +0000 (23:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Aug 2016 06:08:25 +0000 (23:08 -0700)
commit5128b18522e143e634712ceef6a007333b8c7439
tree49acedf77a9b7c6bf928bafbeccff1aee3134df2
parent184b49c89f39f5c5ad262a6456248284e10984c6
tipc: use kfree_skb() instead of kfree()

Use kfree_skb() instead of kfree() to free sk_buff.

Fixes: 0d051bf93c06 ("tipc: make bearer packet filtering generic")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bearer.c