On 7/4/09, Paul B. Mahol <[email protected]> wrote:
> On 6/18/09, Coleman Kane <[email protected]> wrote:
>> I've committed this one as r194432.
>
> Ah, that one introduced regression.
> Switching ndisX up before creating vap will cause panic.
> Here is fix:
>
> --- /sys/dev/if_ndis/if_ndis.c  2009-06-28 09:15:54.000000000 +0000
> +++ if_ndis.c   2009-07-04 10:23:41.000000000 +0000
> @@ -2292,6 +2292,8 @@
>         ifp = sc->ifp;
>         ic = ifp->if_l2com;
>         vap = TAILQ_FIRST(&ic->ic_vaps);
> +       if (vap == NULL)
> +               return;
>
>         if (!NDIS_INITIALIZED(sc)) {
>                 DPRINTF(("%s: NDIS not initialized\n", __func__));

Bump!

Please commit.

-- 
Paul
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[email protected]"

Reply via email to