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 cdc051b..ac9b848 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. */