aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-02-19 11:56:48 -0800
committerDavid S. Miller <davem@davemloft.net>2018-02-21 14:24:14 -0500
commit74d4a8f8d378ddbe7caf3331804c3d5a276a9b1a (patch)
treed67ba2d7d4ed98d67cdf4898a6d9d306d579c9e9 /net/ipv4/tcp_input.c
parenttcp: switch to GSO being always on (diff)
downloadlinux-dev-74d4a8f8d378ddbe7caf3331804c3d5a276a9b1a.tar.xz
linux-dev-74d4a8f8d378ddbe7caf3331804c3d5a276a9b1a.zip
tcp: remove sk_can_gso() use
After previous commit, sk_can_gso() is always true. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index a6b48f6253e3..06b9c4765f42 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -1358,9 +1358,6 @@ static struct sk_buff *tcp_shift_skb_data(struct sock *sk, struct sk_buff *skb,
int len;
int in_sack;
- if (!sk_can_gso(sk))
- goto fallback;
-
/* Normally R but no L won't result in plain S */
if (!dup_sack &&
(TCP_SKB_CB(skb)->sacked & (TCPCB_LOST|TCPCB_SACKED_RETRANS)) == TCPCB_SACKED_RETRANS)