Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/net Pull up following revision(s) (requested by chs i...
details: https://anonhg.NetBSD.org/src/rev/2313512f5149
branches: netbsd-6
changeset: 774122:2313512f5149
user: riz <riz%NetBSD.org@localhost>
date: Fri May 18 17:04:28 2012 +0000
description:
Pull up following revision(s) (requested by chs in ticket #258):
sys/net/if_ethersubr.c: revision 1.189
in ether_ifdetach(), clear if_mowner before releasing what it points to.
fixes PR 42982.
diffstat:
sys/net/if_ethersubr.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r c8ae3d00f0b5 -r 2313512f5149 sys/net/if_ethersubr.c
--- a/sys/net/if_ethersubr.c Fri May 18 17:02:31 2012 +0000
+++ b/sys/net/if_ethersubr.c Fri May 18 17:04:28 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ethersubr.c,v 1.188 2011/06/16 19:47:30 kefren Exp $ */
+/* $NetBSD: if_ethersubr.c,v 1.188.8.1 2012/05/18 17:04:28 riz Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.188 2011/06/16 19:47:30 kefren Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.188.8.1 2012/05/18 17:04:28 riz Exp $");
#include "opt_inet.h"
#include "opt_atalk.h"
@@ -1168,6 +1168,7 @@
if_free_sadl(ifp);
#endif
+ ifp->if_mowner = NULL;
MOWNER_DETACH(&ec->ec_rx_mowner);
MOWNER_DETACH(&ec->ec_tx_mowner);
}
Home |
Main Index |
Thread Index |
Old Index