diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2006-03-14 23:25:14 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2006-03-14 23:25:14 +0000 |
commit | 4201918426b37be6cebfd67e54f020bfb45422fb (patch) | |
tree | 52ccebd75b025b4b4288dcc71f8fd332ca86ebbe /pfinet/linux-src/net/ipv4/tcp_ipv4.c | |
parent | fc02160569ca3a5172ab97896b5369d58c782d68 (diff) |
2006-03-15 Thomas Schwinge <tschwinge@gnu.org>
* glue-include/asm/system.h (xchg): Fix invalid lvalue.
* linux-src/net/ipv4/tcp_ipv4.c (tcp_v4_rst_req): Don't use ?: as a
lvalue.
Diffstat (limited to 'pfinet/linux-src/net/ipv4/tcp_ipv4.c')
-rw-r--r-- | pfinet/linux-src/net/ipv4/tcp_ipv4.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pfinet/linux-src/net/ipv4/tcp_ipv4.c b/pfinet/linux-src/net/ipv4/tcp_ipv4.c index 5eabe1b9..2364de33 100644 --- a/pfinet/linux-src/net/ipv4/tcp_ipv4.c +++ b/pfinet/linux-src/net/ipv4/tcp_ipv4.c @@ -1584,7 +1584,10 @@ static void tcp_v4_rst_req(struct sock *sk, struct sk_buff *skb) after(TCP_SKB_CB(skb)->seq, req->rcv_isn+1)) return; tcp_synq_unlink(tp, req, prev); - (req->sk ? sk->ack_backlog : tp->syn_backlog)--; + if (req->sk) + sk->ack_backlog--; + else + tp->syn_backlog--; req->class->destructor(req); tcp_openreq_free(req); |