diff options
| author | Eric Dumazet <[email protected]> | 2015-06-04 15:01:12 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-06-07 08:55:01 +0000 |
| commit | 98da81a426a76c351f3c2854d5bc31f17bba3194 (patch) | |
| tree | 636dbfc8c16b4150e41aa32ff9b8774ed3f19f3b /net/ipv6/tcp_ipv6.c | |
| parent | fddi: print an address with %p format specifier rather than %x (diff) | |
| download | kernel-98da81a426a76c351f3c2854d5bc31f17bba3194.tar.gz kernel-98da81a426a76c351f3c2854d5bc31f17bba3194.zip | |
tcp: remove redundant checks II
For same reasons than in commit 12e25e1041d0 ("tcp: remove redundant
checks"), we can remove redundant checks done for timewait sockets.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
| -rw-r--r-- | net/ipv6/tcp_ipv6.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index b72e1ffc6bb4..45a7176ed460 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -1467,10 +1467,6 @@ do_time_wait: tcp_v6_fill_cb(skb, hdr, th); - if (skb->len < (th->doff<<2)) { - inet_twsk_put(inet_twsk(sk)); - goto bad_packet; - } if (tcp_checksum_complete(skb)) { inet_twsk_put(inet_twsk(sk)); goto csum_error; |
