From 02b52f299e9c798f4a25d324e0c9d243d1b6d474 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Wed, 9 Sep 2015 20:05:22 +0000 Subject: if_put after the if_get. ok mpi@ claudio@ --- sys/net/if_vxlan.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/net') 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 @@ -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) { -- cgit v1.2.3