aboutsummaryrefslogtreecommitdiff
path: root/net/mctp/test
diff options
context:
space:
mode:
Diffstat (limited to 'net/mctp/test')
-rw-r--r--net/mctp/test/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mctp/test/utils.c b/net/mctp/test/utils.c
index cc6b8803aa9d..7b7918702592 100644
--- a/net/mctp/test/utils.c
+++ b/net/mctp/test/utils.c
@@ -12,7 +12,7 @@
static netdev_tx_t mctp_test_dev_tx(struct sk_buff *skb,
struct net_device *ndev)
{
- kfree(skb);
+ kfree_skb(skb);
return NETDEV_TX_OK;
}