ieee802154: drivers: use dev_alloc_skb
authorAlexander Aring <alex.aring@gmail.com>
Mon, 27 Oct 2014 16:13:29 +0000 (17:13 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 27 Oct 2014 17:07:37 +0000 (18:07 +0100)
commit61a2281458956db519f2c24fa40bf277adea2a67
tree7a4074ecccf64bf350c7f3f7b95a8c00a45fa8bf
parent061ef8f915988839b12460c47ebfcf3700e124f0
ieee802154: drivers: use dev_alloc_skb

This patch change the allocation of skb inside the ieee802154 driver
layer to dev_alloc_skb. This changes also the gfp mask to GFP_ATOMIC
which is needed for upcomming change that the receiving is done by a
tasklet and not a workqueue anymore.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Cc: Alan Ott <alan@signal11.us>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/at86rf230.c
drivers/net/ieee802154/cc2520.c
drivers/net/ieee802154/mrf24j40.c