aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Hannemann <hannemann@nets.rwth-aachen.de>2008-04-21 14:46:22 -0700
committerDavid S. Miller <davem@davemloft.net>2008-04-21 14:46:22 -0700
commitd7ee147d4f84219a44670eb0db3a91e58d14a81c (patch)
tree665f78c082a3ea2416be8fd76bd76d608bfe0a01
parent02651d20a3f90dab8920dad00dec8f62f2b6a7ea (diff)
downloadkernel_samsung_aries-d7ee147d4f84219a44670eb0db3a91e58d14a81c.zip
kernel_samsung_aries-d7ee147d4f84219a44670eb0db3a91e58d14a81c.tar.gz
kernel_samsung_aries-d7ee147d4f84219a44670eb0db3a91e58d14a81c.tar.bz2
tcp: Make use of before macro in tcp_input.c
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>
-rw-r--r--net/ipv4/tcp_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index cdc051b..ac9b848 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -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. */