Commit 02600d0d authored by Alexander Aring's avatar Alexander Aring Committed by David S. Miller

6lowpan: change tag type to __be16

Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 96cb3eb7
...@@ -68,7 +68,7 @@ static LIST_HEAD(lowpan_devices); ...@@ -68,7 +68,7 @@ static LIST_HEAD(lowpan_devices);
struct lowpan_dev_info { struct lowpan_dev_info {
struct net_device *real_dev; /* real WPAN device ptr */ struct net_device *real_dev; /* real WPAN device ptr */
struct mutex dev_list_mtx; /* mutex for list ops */ struct mutex dev_list_mtx; /* mutex for list ops */
unsigned short fragment_tag; __be16 fragment_tag;
}; };
struct lowpan_dev_record { struct lowpan_dev_record {
...@@ -424,7 +424,8 @@ lowpan_skb_fragmentation(struct sk_buff *skb, struct net_device *dev) ...@@ -424,7 +424,8 @@ lowpan_skb_fragmentation(struct sk_buff *skb, struct net_device *dev)
{ {
int err; int err;
u16 dgram_offset, dgram_size, payload_length, header_length, u16 dgram_offset, dgram_size, payload_length, header_length,
lowpan_size, frag_plen, offset, tag; lowpan_size, frag_plen, offset;
__be16 tag;
u8 head[5]; u8 head[5];
header_length = skb->mac_len; header_length = skb->mac_len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment