mac802154: tx: remove kmalloc in xmit hotpath
authorAlexander Aring <alex.aring@gmail.com>
Sun, 26 Oct 2014 08:37:02 +0000 (09:37 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 26 Oct 2014 16:23:58 +0000 (17:23 +0100)
commitfe24371d6645b766c59ec664c59d0a9c310ad455
treebc7f7553e60e9dcaee1827740a500b5227ba81cd
parent50c6fb9965907732b4f5c45bd3bacf4b4f3463b9
mac802154: tx: remove kmalloc in xmit hotpath

This patch removes the kmalloc allocation for workqueue data. This patch
replaces the kmalloc and uses the control block of skb. The control block
has enough space and isn't use by any other layer in this case.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/tx.c