6lowpan: set 6lowpan network and transport header
authorAlexander Aring <alex.aring@gmail.com>
Wed, 30 Oct 2013 08:18:23 +0000 (09:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Oct 2013 21:18:46 +0000 (17:18 -0400)
commit578d524127612354d91905f932ee88d73d8d1645
treebfcb902eba18bd0e162eb28349985bab97e8f001
parent3e69162ea4a9e927cb3619b96c86aae4ded60112
6lowpan: set 6lowpan network and transport header

This is necessary to access network header with the skb_network_header
function instead of calculate the position with mac_len, etc.
Do the same for the transport header, when we replace the IPv6 header
with the 6LoWPAN header.

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