diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-09-10 08:46:18 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-09-10 08:46:18 +0000 |
commit | 012ad64ebe0b6d8816f45c0bc776d58899d6612d (patch) | |
tree | 0097c6d6e468db859510c22efedceb9e3b252675 | |
parent | dc42a2ad60bf0644a34984b8041792d76951778f (diff) |
Another trivial if_put addition. OK dlg@
-rw-r--r-- | sys/netinet6/ip6_divert.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_divert.c b/sys/netinet6/ip6_divert.c index 0ae41327400..87ed5eebf1a 100644 --- a/sys/netinet6/ip6_divert.c +++ b/sys/netinet6/ip6_divert.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_divert.c,v 1.36 2015/07/15 22:16:42 deraadt Exp $ */ +/* $OpenBSD: ip6_divert.c,v 1.37 2015/09/10 08:46:17 claudio Exp $ */ /* * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -226,6 +226,7 @@ divert6_packet(struct mbuf *m, int dir, u_int16_t divert_port) addr.sin6_addr = satosin6(ifa->ifa_addr)->sin6_addr; break; } + if_put(ifp); } if (inp) { |