From f53f4137baedc1be179880d35f390e20445428ba Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 14 Oct 2007 19:41:09 +0100 Subject: 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 Signed-off-by: Linus Torvalds --- include/linux/inet_lro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux/inet_lro.h') 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 { __wsum data_csum; __be32 tcp_rcv_tsecr; __be32 tcp_rcv_tsval; - u32 tcp_ack; + __be32 tcp_ack; u32 tcp_next_seq; u32 skb_tot_frags_len; u16 ip_tot_len; -- cgit v1.2.3