diff options
author | 2003-02-14 17:54:46 +0000 | |
---|---|---|
committer | 2003-02-14 17:54:46 +0000 | |
commit | 5232b980eb7995047fd5647af6cef0f07abc6051 (patch) | |
tree | e0772d2b26f14c6628682218fdc4ac056c86e240 /sys/netinet/tcp_input.c | |
parent | adjust after pfctl changes (diff) | |
download | wireguard-openbsd-5232b980eb7995047fd5647af6cef0f07abc6051.tar.xz wireguard-openbsd-5232b980eb7995047fd5647af6cef0f07abc6051.zip |
Fix an mbuf leak, where each incoming IPv6 TCP connection (to a listening
socket) would leak one MT_SONAME mbuf. ok deraadt@, henning@
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 6617d20e100..7a0b3ffec9c 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_input.c,v 1.124 2002/09/11 03:27:03 itojun Exp $ */ +/* $OpenBSD: tcp_input.c,v 1.125 2003/02/14 17:54:46 dhartmei Exp $ */ /* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */ /* @@ -1232,9 +1232,9 @@ findpcb: (void) m_free(am); goto drop; } - (void) m_free(am); break; } + (void) m_free(am); tp->t_template = tcp_template(tp); if (tp->t_template == 0) { tp = tcp_drop(tp, ENOBUFS); |