summaryrefslogtreecommitdiffstats
path: root/sys/net/if_vxlan.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-09-09 20:05:21 +0000
committerdlg <dlg@openbsd.org>2015-09-09 20:05:21 +0000
commitba1246f6cc9ab8757b14ef86c843db02f614d476 (patch)
treeb55e686bde25cbf97436f329616a79c764ec170f /sys/net/if_vxlan.c
parentadd if_put after the if_get. (diff)
downloadwireguard-openbsd-ba1246f6cc9ab8757b14ef86c843db02f614d476.tar.xz
wireguard-openbsd-ba1246f6cc9ab8757b14ef86c843db02f614d476.zip
if_put after the if_get.
ok mpi@ claudio@
Diffstat (limited to 'sys/net/if_vxlan.c')
-rw-r--r--sys/net/if_vxlan.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_vxlan.c b/sys/net/if_vxlan.c
index bb263c70982..55f45077a5c 100644
--- a/sys/net/if_vxlan.c
+++ b/sys/net/if_vxlan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vxlan.c,v 1.27 2015/07/20 22:54:30 mpi Exp $ */
+/* $OpenBSD: if_vxlan.c,v 1.28 2015/09/09 20:05:21 dlg Exp $ */
/*
* Copyright (c) 2013 Reyk Floeter <reyk@openbsd.org>
@@ -194,6 +194,8 @@ vxlan_multicast_cleanup(struct ifnet *ifp)
sc->sc_dhcookie);
sc->sc_dhcookie = NULL;
}
+
+ if_put(mifp);
}
if (imo->imo_num_memberships > 0) {