diff options
author | 2000-12-11 08:04:55 +0000 | |
---|---|---|
committer | 2000-12-11 08:04:55 +0000 | |
commit | 4d113176fe2f0c74192d0c45f9bcfc3928b1ed00 (patch) | |
tree | b8a8ace41f896ebcb8077f4a18a1c4390b08c2c5 /sys/netinet/tcp_usrreq.c | |
parent | do not touch region after free (diff) | |
download | wireguard-openbsd-4d113176fe2f0c74192d0c45f9bcfc3928b1ed00.tar.xz wireguard-openbsd-4d113176fe2f0c74192d0c45f9bcfc3928b1ed00.zip |
nuke #ifdef TCP6 (no longer supported).
validate ICMPv6 too big messages (pmtud) based on pcb. we accept
certain amount of non-validated ones, as IPv6 mandates ICMPv6 (so even for
traffic from unconnected pcb, we need pmtud).
sync with kame
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index dbcc84d3f25..38a4fc02830 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_usrreq.c,v 1.48 2000/10/14 01:04:11 itojun Exp $ */ +/* $OpenBSD: tcp_usrreq.c,v 1.49 2000/12/11 08:04:56 itojun Exp $ */ /* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */ /* @@ -95,7 +95,7 @@ extern struct baddynamicports baddynamicports; int tcp_ident __P((void *, size_t *, void *, size_t)); -#if defined(INET6) && !defined(TCP6) +#ifdef INET6 int tcp6_usrreq(so, req, m, nam, control, p) struct socket *so; @@ -103,6 +103,7 @@ tcp6_usrreq(so, req, m, nam, control, p) struct mbuf *m, *nam, *control; struct proc *p; { + return tcp_usrreq(so, req, m, nam, control); } #endif |