From: Ilpo Järvinen Date: Fri, 4 Jan 2008 04:38:05 +0000 (-0800) Subject: [TCP]: Urgent parameter effect can be simplified. X-Git-Tag: MMI-PSA29.97-13-9~37648^2~880 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=19773b4923ed0e21e3289361dba5e69e1ce6e00b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [TCP]: Urgent parameter effect can be simplified. Signed-off-by: Ilpo Järvinen Signed-off-by: David S. Miller --- 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) * end to send an ack. Don't queue or clone SKB, just * send it. */ - TCP_SKB_CB(skb)->seq = urgent ? tp->snd_una : tp->snd_una - 1; + TCP_SKB_CB(skb)->seq = tp->snd_una - !urgent; TCP_SKB_CB(skb)->end_seq = TCP_SKB_CB(skb)->seq; TCP_SKB_CB(skb)->when = tcp_time_stamp; return tcp_transmit_skb(sk, skb, 0, GFP_ATOMIC);