aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2007-04-11 00:04:22 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:25:26 -0400
commitaa8223c7bb0b05183e1737881ed21827aa5b9e73 (patch)
tree05c9832326edfeb878472f15cf8133ed9f014cdf /include/net/tcp.h
parentab6a5bb6b28a970104a34f0f6959b73cf61bdc72 (diff)
[SK_BUFF]: Introduce tcp_hdr(), remove skb->h.th
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
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);