Revert "ozwpan: replace kfree_skb with dev_kfree_skb in ozproto.c"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2013 23:01:33 +0000 (16:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2013 23:01:33 +0000 (16:01 -0700)
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>
drivers/staging/ozwpan/ozproto.c

index 1a5845866b08f725703958b6d883669cd9d84a0e..83bbd4b449feb571f33a60db52a0af5d723947be 100644 (file)
@@ -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);
This page took 0.025442 seconds and 5 git commands to generate.