tcp: Make use of before macro in tcp_input.c
authorArnd Hannemann <hannemann@nets.rwth-aachen.de>
Mon, 21 Apr 2008 21:46:22 +0000 (14:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Apr 2008 21:46:22 +0000 (14:46 -0700)
Make use of tcp before macro.

Signed-off-by: Arnd Hannemann <hannemann@nets.rwth-aachen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c

index cdc051bfdb4d474cb2a479919776cac79b3e18ac..ac9b8482f702eae07f6f66b935b36f986354d91f 100644 (file)
@@ -2298,7 +2298,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. */