[TCP]: struct tcp_sock .pred_flags is net-endian

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Al Viro 2006-09-27 18:32:46 -07:00 committed by David S. Miller
parent 269bd27e66
commit dddc93c05d

View 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