projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7caf8d
)
[TCP]: Add unlikely() to sacktag out-of-mem in fragment case
author
Ilpo Järvinen
<ilpo.jarvinen@helsinki.fi>
Sun, 11 Nov 2007 05:23:08 +0000
(21:23 -0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 11 Nov 2007 05:23:08 +0000
(21:23 -0800)
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/tcp_input.c
b/net/ipv4/tcp_input.c
index 9fc9096ada8a13416e80e73ec36090e4e62119db..84bcdc94dfa980af9c97b7e637c751e5314ecf5c 100644
(file)
--- a/
net/ipv4/tcp_input.c
+++ b/
net/ipv4/tcp_input.c
@@
-1400,7
+1400,7
@@
tcp_sacktag_write_queue(struct sock *sk, struct sk_buff *ack_skb, u32 prior_snd_
/* DSACK info lost if out-of-mem, try SACK still */
if (in_sack <= 0)
in_sack = tcp_match_skb_to_sack(sk, skb, start_seq, end_seq);
- if (
in_sack < 0
)
+ if (
unlikely(in_sack < 0)
)
break;
sacked = TCP_SKB_CB(skb)->sacked;