mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
9df7c98a0f
commit
f53f4137ba
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue