summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2015-09-10 08:45:32 +0000
committerclaudio <claudio@openbsd.org>2015-09-10 08:45:32 +0000
commit02ca528816a15bdd37da530539b995d716a727a4 (patch)
tree8495546065abb01fd0da99a7797a4c3ec5836090 /sys/netinet6
parentif_put added to the if_get calls. Reshuffle some code to make this easier. (diff)
downloadwireguard-openbsd-02ca528816a15bdd37da530539b995d716a727a4.tar.xz
wireguard-openbsd-02ca528816a15bdd37da530539b995d716a727a4.zip
Trivial if_put addition. OK dlg@
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c
index 26a037ac6a0..18efe274793 100644
--- a/sys/netinet6/in6.c
+++ b/sys/netinet6/in6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6.c,v 1.171 2015/09/09 15:51:40 mpi Exp $ */
+/* $OpenBSD: in6.c,v 1.172 2015/09/10 08:45:32 claudio Exp $ */
/* $KAME: in6.c,v 1.372 2004/06/14 08:14:21 itojun Exp $ */
/*
@@ -1385,6 +1385,7 @@ in6_delmulti(struct in6_multi *in6m)
ifma_list);
splx(s);
}
+ if_put(ifp);
free(in6m, M_IPMADDR, 0);
}