Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea0a95d7 authored by Wei Yongjun's avatar Wei Yongjun Committed by Martin K. Petersen
Browse files

fcoe: Use kfree_skb() instead of kfree()



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

Signed-off-by: default avatarWei Yongjun <weiyj.lk@gmail.com>
Acked-by: default avatarJohannes Thumshirn <jth@kernel.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent c8e18acc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2923,7 +2923,7 @@ static int fcoe_ctlr_vlan_recv(struct fcoe_ctlr *fip, struct sk_buff *skb)
	mutex_unlock(&fip->ctlr_mutex);

drop:
	kfree(skb);
	kfree_skb(skb);
	return rc;
}