mac802154: tx: make worker information static
authorAlexander Aring <alex.aring@gmail.com>
Sun, 26 Oct 2014 17:15:34 +0000 (18:15 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 26 Oct 2014 18:18:35 +0000 (19:18 +0100)
commitf81f466ca588a5bd868008154050305481f241d4
tree9509b8cbac028903597f9d48a43211fdda57a627
parent955aee8b5c69594b9fb38a4f65e77db343b43a38
mac802154: tx: make worker information static

This patch moves the worker information struct out of skb control block.
Instead control block we declare it static inside of tx.c file. We can do
that, because the worker can't be used twice at the same time. It's
protected by stop and wake netdev queue.

This patch fix an issue that the "struct ieee802154_xmit_cb" doesn't fit
into the skb control block on some kernel configuartion reported by
kbuild test robot.

It was introduced by commit fe24371d6645b766c59ec664c59d0a9c310ad455
("mac802154: tx: remove kmalloc in xmit hotpath").

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