Code Review
/
linux-3.10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
[NET]: Generalise TSO-specific bits from skb_setup_caps
[linux-3.10.git]
/
include
/
net
/
tcp.h
diff --git
a/include/net/tcp.h
b/include/net/tcp.h
index 624921e763329d952cf5b68805cc75ca20399d5c..3cd803b0d7a531537961483aec4ea77923b8d418 100644
(file)
--- a/
include/net/tcp.h
+++ b/
include/net/tcp.h
@@
-751,7
+751,7
@@
static inline int tcp_is_cwnd_limited(const struct sock *sk, u32 in_flight)
if (in_flight >= tp->snd_cwnd)
return 1;
- if (!
(sk->sk_route_caps & NETIF_F_TSO
))
+ if (!
sk_can_gso(sk
))
return 0;
left = tp->snd_cwnd - in_flight;