diff options
author | attilio <attilio@FreeBSD.org> | 2011-10-07 14:52:30 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2011-10-07 14:52:30 +0000 |
commit | 62842622e5f4dd7e394cb2530b955c9818aaeec0 (patch) | |
tree | 49f5e5c93a5ccb6bcbbfa674f9426f3ebfff0d06 /sys/netinet/tcp_input.c | |
parent | 7df8241791232daa11aee522d16abbdcf12edaee (diff) | |
parent | 94a8deed4efbf7e2dba2eda1286d2eb18cb16440 (diff) | |
download | FreeBSD-src-62842622e5f4dd7e394cb2530b955c9818aaeec0.zip FreeBSD-src-62842622e5f4dd7e394cb2530b955c9818aaeec0.tar.gz |
MFC
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index b1a8b33..91517b3 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -948,24 +948,8 @@ relocked: } INP_INFO_WLOCK_ASSERT(&V_tcbinfo); -#ifdef TCP_SIGNATURE - tcp_dooptions(&to, optp, optlen, - (thflags & TH_SYN) ? TO_SYN : 0); - if (sig_checked == 0) { - tp = intotcpcb(inp); - if (tp == NULL || tp->t_state == TCPS_CLOSED) { - rstreason = BANDLIM_RST_CLOSEDPORT; - goto dropwithreset; - } - if (!tcp_signature_verify_input(m, off0, tlen, optlen, - &to, th, tp->t_flags)) - goto dropunlock; - sig_checked = 1; - } -#else if (thflags & TH_SYN) tcp_dooptions(&to, optp, optlen, TO_SYN); -#endif /* * NB: tcp_twcheck unlocks the INP and frees the mbuf. */ |