Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/net Pull up revision 1.23 (requested by itojun in t...
details: https://anonhg.NetBSD.org/src/rev/9738f08d5ef7
branches: netbsd-1-6
changeset: 530416:9738f08d5ef7
user: grant <grant%NetBSD.org@localhost>
date: Tue Jun 24 08:17:57 2003 +0000
description:
Pull up revision 1.23 (requested by itojun in ticket #1325):
don't call if_free_sadl() until very end of if_detach() logic. many of
routing table manipulation code assumes the presense of AF_LINK sockaddr.
should fix PR 21581
diffstat:
sys/net/if_ieee1394subr.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r dc2d7e838dac -r 9738f08d5ef7 sys/net/if_ieee1394subr.c
--- a/sys/net/if_ieee1394subr.c Tue Jun 24 08:17:22 2003 +0000
+++ b/sys/net/if_ieee1394subr.c Tue Jun 24 08:17:57 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ieee1394subr.c,v 1.15 2002/05/16 09:08:33 haya Exp $ */
+/* $NetBSD: if_ieee1394subr.c,v 1.15.2.1 2003/06/24 08:17:57 grant Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ieee1394subr.c,v 1.15 2002/05/16 09:08:33 haya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ieee1394subr.c,v 1.15.2.1 2003/06/24 08:17:57 grant Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@@ -677,7 +677,9 @@
#endif
free(ifp->if_broadcastaddr, M_DEVBUF);
ifp->if_broadcastaddr = NULL;
+#if 0 /* done in if_detach() */
if_free_sadl(ifp);
+#endif
}
int
Home |
Main Index |
Thread Index |
Old Index