diff options
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 24a06161d174..1db3a016bff6 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -1110,7 +1110,7 @@ static inline void tcp_openreq_init(struct request_sock *req, | |||
1110 | ireq->acked = 0; | 1110 | ireq->acked = 0; |
1111 | ireq->ecn_ok = 0; | 1111 | ireq->ecn_ok = 0; |
1112 | ireq->ir_rmt_port = tcp_hdr(skb)->source; | 1112 | ireq->ir_rmt_port = tcp_hdr(skb)->source; |
1113 | ireq->ir_loc_port = tcp_hdr(skb)->dest; | 1113 | ireq->ir_num = ntohs(tcp_hdr(skb)->dest); |
1114 | } | 1114 | } |
1115 | 1115 | ||
1116 | void tcp_enter_memory_pressure(struct sock *sk); | 1116 | void tcp_enter_memory_pressure(struct sock *sk); |