Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Don't call if_free_sadl in ifnet_detach
details: https://anonhg.NetBSD.org/src/rev/8bf05f309fb2
branches: trunk
changeset: 334041:8bf05f309fb2
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Fri Nov 28 08:03:46 2014 +0000
description:
Don't call if_free_sadl in ifnet_detach
It'll be called in if_detach below.
diffstat:
sys/dev/pci/if_lmc.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 189f92d4fb73 -r 8bf05f309fb2 sys/dev/pci/if_lmc.c
--- a/sys/dev/pci/if_lmc.c Thu Nov 27 20:30:21 2014 +0000
+++ b/sys/dev/pci/if_lmc.c Fri Nov 28 08:03:46 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_lmc.c,v 1.55 2014/06/05 23:48:16 rmind Exp $ */
+/* $NetBSD: if_lmc.c,v 1.56 2014/11/28 08:03:46 ozaki-r Exp $ */
/*-
* Copyright (c) 2002-2006 David Boggs. <boggs%boggs.palo-alto.ca.us@localhost>
@@ -74,7 +74,7 @@
*/
# include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_lmc.c,v 1.55 2014/06/05 23:48:16 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_lmc.c,v 1.56 2014/11/28 08:03:46 ozaki-r Exp $");
# include <sys/param.h> /* OS version */
# include "opt_inet.h" /* INET6, INET */
# include "opt_altq_enabled.h" /* ALTQ */
@@ -3571,8 +3571,6 @@
IFQ_PURGE(&sc->ifp->if_snd);
- if_free_sadl(sc->ifp);
-
if_detach(sc->ifp);
}
Home |
Main Index |
Thread Index |
Old Index