--nextPart1319870.oo1Wn74Pd2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8Bit
On unloading the iwi driver I get a panic in rt_newaddrmsg.
Looks like version 1.20 of rtsock.c (HEAD) is missing a
test found in version 1.19 of rtsock.c (STABLE).
Reapplying the missing (removed) test fixes the panic.
Andrew.
--nextPart1319870.oo1Wn74Pd2
Content-Type: text/x-diff; name="rtsock.c.diff"
Content-Transfer-Encoding: 8Bit
Content-Disposition: attachment; filename="rtsock.c.diff"
--- rtsock.c 2005-02-23 16:39:22.000000000 -0500
+++ rtsock.c.old 2005-02-23 16:39:12.000000000 -0500
@@ -972,7 +972,7 @@
bzero(&rtinfo, sizeof(struct rt_addrinfo));
rtinfo.rti_ifaaddr = ifma->ifma_addr;
- if (ifp != NULL && TAILQ_FIRST(&ifp->if_addrhead) != NULL)
+ if (ifp != NULL)
rtinfo.rti_ifpaddr = TAILQ_FIRST(&ifp->if_addrhead)->ifa_addr;
else
rtinfo.rti_ifpaddr = NULL;
--nextPart1319870.oo1Wn74Pd2--