diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2018-07-09 10:45:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-10 01:57:11 +0300 |
commit | 95765a6ca1288121ddcbf07cd60ec65341829ddc (patch) | |
tree | 8bdf17396c6b7d72e1e5e6396602c008a88b5f90 /net/ipv4/tcp.c | |
parent | 863f4fdb715c3328d4ff1ed547c5508c8e6e2b06 (diff) | |
download | linux-95765a6ca1288121ddcbf07cd60ec65341829ddc.tar.xz |
tcp: remove SG-related comment in tcp_sendmsg()
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>
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index c4082cd50257..e3704a49164b 100644 --- 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; |