]> git.baikalelectronics.ru Git - kernel.git/commit
6lowpan: use stack buffer instead of heap
authorAlexander Aring <alex.aring@gmail.com>
Tue, 5 Feb 2013 10:23:43 +0000 (10:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Feb 2013 20:56:17 +0000 (15:56 -0500)
commitecf96105fca2a1bb4073b47a6be1c7825cc34be7
treeb8a555d561dfae5ac96cae94c4a8d9f19f7a75d6
parent82b22119fe6288c1208c1683351c6b4df65cf882
6lowpan: use stack buffer instead of heap

head buffer is only temporary available in lowpan_header_create.
So it's not necessary to put it on the heap.

Also fixed a comment codestyle issue.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/6lowpan.c