aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 1191cac72109..d5ffb573ca4d 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -5390,11 +5390,11 @@ discard:
5390 * the rest is checked inline. Fast processing is turned on in 5390 * the rest is checked inline. Fast processing is turned on in
5391 * tcp_data_queue when everything is OK. 5391 * tcp_data_queue when everything is OK.
5392 */ 5392 */
5393void tcp_rcv_established(struct sock *sk, struct sk_buff *skb, 5393void tcp_rcv_established(struct sock *sk, struct sk_buff *skb)
5394 const struct tcphdr *th)
5395{ 5394{
5396 unsigned int len = skb->len; 5395 const struct tcphdr *th = (const struct tcphdr *)skb->data;
5397 struct tcp_sock *tp = tcp_sk(sk); 5396 struct tcp_sock *tp = tcp_sk(sk);
5397 unsigned int len = skb->len;
5398 5398
5399 /* TCP congestion window tracking */ 5399 /* TCP congestion window tracking */
5400 trace_tcp_probe(sk, skb); 5400 trace_tcp_probe(sk, skb);