diff options
author | 2015-09-09 20:05:21 +0000 | |
---|---|---|
committer | 2015-09-09 20:05:21 +0000 | |
commit | ba1246f6cc9ab8757b14ef86c843db02f614d476 (patch) | |
tree | b55e686bde25cbf97436f329616a79c764ec170f | |
parent | add if_put after the if_get. (diff) | |
download | wireguard-openbsd-ba1246f6cc9ab8757b14ef86c843db02f614d476.tar.xz wireguard-openbsd-ba1246f6cc9ab8757b14ef86c843db02f614d476.zip |
if_put after the if_get.
ok mpi@ claudio@
-rw-r--r-- | sys/net/if_vxlan.c | 4 |
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) { |