diff options
author | Xenia Ragiadakou <burzalodowa@gmail.com> | 2013-05-21 10:18:59 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-21 17:54:45 (GMT) |
commit | 4422a6c14d0d0bfe519ec487693f1787f64b0b90 (patch) | |
tree | f076af96fbf3a1b8851d0bae908be1e883133a4e /drivers/staging/ozwpan/ozproto.c | |
parent | e241a8b61671b487e1a04b455dbd32ab965250ef (diff) | |
download | linux-4422a6c14d0d0bfe519ec487693f1787f64b0b90.tar.xz |
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 <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozproto.c')
-rw-r--r-- | drivers/staging/ozwpan/ozproto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ozwpan/ozproto.c b/drivers/staging/ozwpan/ozproto.c index 83bbd4b..1a58458 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<<OZ_VERSION_SHIFT); |