aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 6dacc352dcf1..af9273204cfd 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -984,7 +984,7 @@ static inline void tcp_openreq_init(struct request_sock *req,
984 ireq->wscale_ok = rx_opt->wscale_ok; 984 ireq->wscale_ok = rx_opt->wscale_ok;
985 ireq->acked = 0; 985 ireq->acked = 0;
986 ireq->ecn_ok = 0; 986 ireq->ecn_ok = 0;
987 ireq->rmt_port = skb->h.th->source; 987 ireq->rmt_port = tcp_hdr(skb)->source;
988} 988}
989 989
990extern void tcp_enter_memory_pressure(void); 990extern void tcp_enter_memory_pressure(void);