diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2015-09-09 20:05:22 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2015-09-09 20:05:22 +0000 |
commit | 02b52f299e9c798f4a25d324e0c9d243d1b6d474 (patch) | |
tree | 0a539491a02f4725cd08f5d6d3b2f5219f72da33 /sys/net | |
parent | a365fe7f62df2bd2a1003c722bad1737da2249a4 (diff) |
if_put after the if_get.
ok mpi@ claudio@
Diffstat (limited to 'sys/net')
-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) { |