]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5051b3f6b38f3c6b16c0ea84b52a6db3ee24565e
treebc7f7553e60e9dcaee1827740a500b5227ba81cd
parent7e0039a05c79f2939b016ebadb94d5085c928aa1
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