NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/49682: reproducable panic when detaching bge (IPv6 related)
The following reply was made to PR kern/49682; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/49682: reproducable panic when detaching bge (IPv6 related)
Date: Sat, 21 Feb 2015 12:09:24 +0100
How about this patch?
Martin
Index: if.c
===================================================================
RCS file: /cvsroot/src/sys/net/if.c,v
retrieving revision 1.308
diff -u -p -r1.308 if.c
--- if.c 16 Jan 2015 10:36:14 -0000 1.308
+++ if.c 21 Feb 2015 11:08:54 -0000
@@ -876,8 +876,8 @@ again:
{
void *p = ifp->if_afdata[dp->dom_family];
if (p) {
- ifp->if_afdata[dp->dom_family] = NULL;
(*dp->dom_ifdetach)(ifp, p);
+ ifp->if_afdata[dp->dom_family] = NULL;
}
}
Home |
Main Index |
Thread Index |
Old Index