[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.1.00.0804212214230.1777@dragon.funnycrock.com>
Date: Mon, 21 Apr 2008 22:14:28 +0200 (CEST)
From: Jesper Juhl <jesper.juhl@...il.com>
To: "David S. Miller" <davem@...emloft.net>
cc: netdev@...r.kernel.org,
Arnd Hannemann <hannemann@...s.rwth-aachen.de>,
trivial@...nel.org
Subject: [PATCH] make use of before macro in tcp_input.c (fwd)
David; I was about to put this in the trivial tree, but I think it should
probably be merged via the net tree instead.
The change looks sane to me.
/Jesper Juhl
---------- Forwarded message ----------
Date: Mon, 03 Mar 2008 22:38:26 +0100
From: Arnd Hannemann <hannemann@...s.rwth-aachen.de>
To: trivial@...nel.org
Subject: [PATCH] make use of before macro in tcp_input.c
Make use of tcp before macro.
Signed-off-by: Arnd Hannemann <hannemann@...s.rwth-aachen.de>
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 19c449f..e08d616 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -2265,7 +2265,7 @@ static inline int tcp_packet_delayed(struct tcp_sock *tp)
{
return !tp->retrans_stamp ||
(tp->rx_opt.saw_tstamp && tp->rx_opt.rcv_tsecr &&
- (__s32)(tp->rx_opt.rcv_tsecr - tp->retrans_stamp) < 0);
+ before(tp->rx_opt.rcv_tsecr, tp->retrans_stamp));
}
/* Undo procedures. */
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists