projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02651d2
)
tcp: Make use of before macro in tcp_input.c
author
Arnd Hannemann
<hannemann@nets.rwth-aachen.de>
Mon, 21 Apr 2008 21:46:22 +0000
(14:46 -0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/ipv4/tcp_input.c
b/net/ipv4/tcp_input.c
index cdc051bfdb4d474cb2a479919776cac79b3e18ac..ac9b8482f702eae07f6f66b935b36f986354d91f 100644
(file)
--- 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. */