From: Julian Wiedmann Date: Mon, 9 Jul 2018 07:45:14 +0000 (+0200) Subject: tcp: remove SG-related comment in tcp_sendmsg() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=95765a6ca1288121ddcbf07cd60ec65341829ddc;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David S. Miller --- 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;