[NET]: Endian-annotate struct iphdr
[safe/jmp/linux-2.6] / net / ipv4 / ip_fragment.c
index ce2b70c..2a8adda 100644 (file)
@@ -383,7 +383,7 @@ out_nomem:
  */
 static inline struct ipq *ip_find(struct iphdr *iph, u32 user)
 {
-       __u16 id = iph->id;
+       __be16 id = iph->id;
        __u32 saddr = iph->saddr;
        __u32 daddr = iph->daddr;
        __u8 protocol = iph->protocol;