summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-04 16:01:33 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-04 16:01:33 -0700
commite79f864d5902a70c1b90f700628cb34756cd8c4a (patch)
treebb55f052c2b3487579dc6202499388478173a9dc /drivers
parentcd0c1d70f69a8ac51634ef878ce6610044ee166c (diff)
Revert "ozwpan: replace kfree_skb with dev_kfree_skb in ozproto.c"
This reverts commit 5109c8a0c17cea53975ebf6dbc5403c431fd809d. I shouldn't have applied this, my fault... Cc: Xenia Ragiadakou <burzalodowa@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/ozwpan/ozproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ozwpan/ozproto.c b/drivers/staging/ozwpan/ozproto.c
index 1a5845866b08..83bbd4b449fe 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) {
- dev_kfree_skb(skb);
+ kfree_skb(skb);
return;
}
oz_hdr->control = (OZ_PROTOCOL_VERSION<<OZ_VERSION_SHIFT);