diff options
-rw-r--r-- | include/linux/inet_lro.h | 2 | ||||
-rw-r--r-- | net/ipv4/inet_lro.c | 2 |
2 files changed, 2 insertions, 2 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; |
diff --git a/net/ipv4/inet_lro.c b/net/ipv4/inet_lro.c index 7f22474b52c4..ac3b1d3dba2e 100644 --- a/net/ipv4/inet_lro.c +++ b/net/ipv4/inet_lro.c | |||
@@ -159,7 +159,7 @@ static void lro_init_desc(struct net_lro_desc *lro_desc, struct sk_buff *skb, | |||
159 | lro_desc->iph = iph; | 159 | lro_desc->iph = iph; |
160 | lro_desc->tcph = tcph; | 160 | lro_desc->tcph = tcph; |
161 | lro_desc->tcp_next_seq = ntohl(tcph->seq) + tcp_data_len; | 161 | lro_desc->tcp_next_seq = ntohl(tcph->seq) + tcp_data_len; |
162 | lro_desc->tcp_ack = ntohl(tcph->ack_seq); | 162 | lro_desc->tcp_ack = tcph->ack_seq; |
163 | lro_desc->tcp_window = tcph->window; | 163 | lro_desc->tcp_window = tcph->window; |
164 | 164 | ||
165 | lro_desc->pkt_aggr_cnt = 1; | 165 | lro_desc->pkt_aggr_cnt = 1; |