]> git.baikalelectronics.ru Git - kernel.git/commit
6lowpan: cleanup skb copy data
authorAlexander Aring <alex.aring@gmail.com>
Wed, 30 Oct 2013 08:18:24 +0000 (09:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Oct 2013 21:18:46 +0000 (17:18 -0400)
commit1bbd333a8d5c1907fbec3811b4264996b4dcb313
tree6483821dfea97939caae9b0136884a12d2bd39f7
parent980e6121a4f9b61f4d6aa739db8a992fe2ad1834
6lowpan: cleanup skb copy data

This patch drops the direct memcpy on skb and uses the right skb
memcpy functions. Also remove an unnecessary check if plen is non zero.

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