From: Xenia Ragiadakou Date: Thu, 23 May 2013 17:51:59 +0000 (+0300) Subject: ozwpan: replace kfree_skb with dev_kfree_skb in ozproto.c X-Git-Tag: MMI-PSA29.97-13-9~14152^2~366 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5109c8a0c17cea53975ebf6dbc5403c431fd809d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ozwpan: replace kfree_skb with dev_kfree_skb in ozproto.c This patch replaces the calls to kfree_skb with calls to dev_kfree_skb. Signed-off-by: Xenia Ragiadakou Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ozwpan/ozproto.c b/drivers/staging/ozwpan/ozproto.c index 83bbd4b449fe..1a5845866b08 100644 --- a/drivers/staging/ozwpan/ozproto.c +++ b/drivers/staging/ozwpan/ozproto.c @@ -110,7 +110,7 @@ static void oz_send_conn_rsp(struct oz_pd *pd, u8 status) /* Fill in device header */ if (dev_hard_header(skb, dev, OZ_ETHERTYPE, pd->mac_addr, dev->dev_addr, skb->len) < 0) { - kfree_skb(skb); + dev_kfree_skb(skb); return; } oz_hdr->control = (OZ_PROTOCOL_VERSION<