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