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)
commit3582b900ad2c1e218e4963060ba6dcf757cb702e
tree6483821dfea97939caae9b0136884a12d2bd39f7
parent578d524127612354d91905f932ee88d73d8d1645
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