OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96cb3eb
)
6lowpan: change tag type to __be16
author
Alexander Aring
<alex.aring@gmail.com>
Fri, 28 Feb 2014 06:32:46 +0000
(07:32 +0100)
committer
David S. Miller
<davem@davemloft.net>
Fri, 28 Feb 2014 22:05:21 +0000
(17:05 -0500)
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/6lowpan.c
patch
|
blob
|
history
diff --git
a/net/ieee802154/6lowpan.c
b/net/ieee802154/6lowpan.c
index
872c8f9
..
6b7d17f
100644
(file)
--- a/
net/ieee802154/6lowpan.c
+++ b/
net/ieee802154/6lowpan.c
@@
-68,7
+68,7
@@
static LIST_HEAD(lowpan_devices);
struct lowpan_dev_info {
struct net_device *real_dev; /* real WPAN device ptr */
struct mutex dev_list_mtx; /* mutex for list ops */
-
unsigned short
fragment_tag;
+
__be16
fragment_tag;
};
struct lowpan_dev_record {
@@
-424,7
+424,8
@@
lowpan_skb_fragmentation(struct sk_buff *skb, struct net_device *dev)
{
int err;
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];
header_length = skb->mac_len;