Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266896
b: refs/heads/master
c: 20c4cb7
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Oct 20, 2011
1 parent 9c93c63 commit f59e9fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9eac2d4d5312d2ea05c0dbba8051b868fe9961a4
refs/heads/master: 20c4cb792de2b5839537a99a469f4529ef1047f5
6 changes: 3 additions & 3 deletions trunk/net/ipv4/tcp_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -4134,7 +4134,7 @@ static void tcp_reset(struct sock *sk)
*
* If we are in FINWAIT-2, a received FIN moves us to TIME-WAIT.
*/
static void tcp_fin(struct sk_buff *skb, struct sock *sk, struct tcphdr *th)
static void tcp_fin(struct sock *sk)
{
struct tcp_sock *tp = tcp_sk(sk);

Expand Down Expand Up @@ -4405,7 +4405,7 @@ static void tcp_ofo_queue(struct sock *sk)
__skb_queue_tail(&sk->sk_receive_queue, skb);
tp->rcv_nxt = TCP_SKB_CB(skb)->end_seq;
if (tcp_hdr(skb)->fin)
tcp_fin(skb, sk, tcp_hdr(skb));
tcp_fin(sk);
}
}

Expand Down Expand Up @@ -4487,7 +4487,7 @@ static void tcp_data_queue(struct sock *sk, struct sk_buff *skb)
if (skb->len)
tcp_event_data_recv(sk, skb);
if (th->fin)
tcp_fin(skb, sk, th);
tcp_fin(sk);

if (!skb_queue_empty(&tp->out_of_order_queue)) {
tcp_ofo_queue(sk);
Expand Down

0 comments on commit f59e9fd

Please sign in to comment.