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:
863f4fd
)
tcp: remove SG-related comment in tcp_sendmsg()
author
Julian Wiedmann
<jwi@linux.ibm.com>
Mon, 9 Jul 2018 07:45:14 +0000
(09:45 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 9 Jul 2018 22:57:11 +0000
(15:57 -0700)
Since commit
74d4a8f8d378
("tcp: remove sk_can_gso() use"), the code
doesn't care whether the interface supports SG.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c
patch
|
blob
|
history
diff --git
a/net/ipv4/tcp.c
b/net/ipv4/tcp.c
index c4082cd50257d2478e547bbe6538975acd1ac92d..e3704a49164be5763151d848257ebe0ad2ec9984 100644
(file)
--- a/
net/ipv4/tcp.c
+++ b/
net/ipv4/tcp.c
@@
-1274,9
+1274,6
@@
restart:
int linear;
new_segment:
- /* Allocate new segment. If the interface is SG,
- * allocate skb fitting to single page.
- */
if (!sk_stream_memory_free(sk))
goto wait_for_sndbuf;