aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-01-03 23:38:05 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:00:33 -0500
commit19773b4923ed0e21e3289361dba5e69e1ce6e00b (patch)
tree78176d3819181de63ceeeff50b2cf5166d73c4b9 /net/ipv4/tcp_output.c
parentf038ac8f9b9735358ef410d45f4cff1da810c1cb (diff)
[TCP]: Urgent parameter effect can be simplified.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r--net/ipv4/tcp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index f6d279a95f4b..6c7cd0a9098a 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -2488,7 +2488,7 @@ static int tcp_xmit_probe_skb(struct sock *sk, int urgent)
2488 * end to send an ack. Don't queue or clone SKB, just 2488 * end to send an ack. Don't queue or clone SKB, just
2489 * send it. 2489 * send it.
2490 */ 2490 */
2491 TCP_SKB_CB(skb)->seq = urgent ? tp->snd_una : tp->snd_una - 1; 2491 TCP_SKB_CB(skb)->seq = tp->snd_una - !urgent;
2492 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(skb)->seq; 2492 TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(skb)->seq;
2493 TCP_SKB_CB(skb)->when = tcp_time_stamp; 2493 TCP_SKB_CB(skb)->when = tcp_time_stamp;
2494 return tcp_transmit_skb(sk, skb, 0, GFP_ATOMIC); 2494 return tcp_transmit_skb(sk, skb, 0, GFP_ATOMIC);