[TCP]: struct tcp_sock .pred_flags is net-endian
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 28 Sep 2006 01:32:46 +0000 (18:32 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:02:05 +0000 (18:02 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/tcp.h

index 9632aa866de451e9e19137fa63b535be07846fec..0e058a2d1c6d72a62ddcef1e733830bff6323269 100644 (file)
@@ -216,7 +216,7 @@ struct tcp_sock {
  *     Header prediction flags
  *     0x5?10 << 16 + snd_wnd in net byte order
  */
-       __u32   pred_flags;
+       __be32  pred_flags;
 
 /*
  *     RFC793 variables by their proper names. This means you can