diff options
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 12c9b4fec040..f6cc34143154 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -976,6 +976,7 @@ static inline void tcp_openreq_init(struct request_sock *req, | |||
976 | ireq->acked = 0; | 976 | ireq->acked = 0; |
977 | ireq->ecn_ok = 0; | 977 | ireq->ecn_ok = 0; |
978 | ireq->rmt_port = tcp_hdr(skb)->source; | 978 | ireq->rmt_port = tcp_hdr(skb)->source; |
979 | ireq->loc_port = tcp_hdr(skb)->dest; | ||
979 | } | 980 | } |
980 | 981 | ||
981 | extern void tcp_enter_memory_pressure(struct sock *sk); | 982 | extern void tcp_enter_memory_pressure(struct sock *sk); |