diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-14 14:41:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-14 15:41:52 -0400 |
commit | f53f4137baedc1be179880d35f390e20445428ba (patch) | |
tree | 540a953ece44438080c756b6fc250ff1606a720e /include/linux | |
parent | 9df7c98a0f7e0b7f4b547761ab64f39a13f20355 (diff) |
fix endianness bug in inet_lro
all uses of and almost all assignments to lro_desc->tcp_ack assume that it's
net-endian; one converts net-endian to host-endian and sticks it in
lro_desc->tcp_ack.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/inet_lro.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/inet_lro.h b/include/linux/inet_lro.h index bb1c8773a1a1..1246d46abbc0 100644 --- a/include/linux/inet_lro.h +++ b/include/linux/inet_lro.h | |||
@@ -54,7 +54,7 @@ struct net_lro_desc { | |||
54 | __wsum data_csum; | 54 | __wsum data_csum; |
55 | __be32 tcp_rcv_tsecr; | 55 | __be32 tcp_rcv_tsecr; |
56 | __be32 tcp_rcv_tsval; | 56 | __be32 tcp_rcv_tsval; |
57 | u32 tcp_ack; | 57 | __be32 tcp_ack; |
58 | u32 tcp_next_seq; | 58 | u32 tcp_next_seq; |
59 | u32 skb_tot_frags_len; | 59 | u32 skb_tot_frags_len; |
60 | u16 ip_tot_len; | 60 | u16 ip_tot_len; |