Subject: Re: atu(4) crashes on current
To: =?iso-8859-1?q?St=E9phane_Witzmann?= <firstname.lastname@example.org>
From: Nick Hudson <email@example.com>
Date: 12/20/2005 08:33:54
On Monday 19 December 2005 23:50, St=E9phane Witzmann wrote:
> See my previous post at:
> Briefly, "ifconfig atu0 inet <whatever>" produces a kernel page fault (ev=
> with the latest binary kernel snapshot (200512180000Z)). It doesn't crash
> under NetBSD 3.0RC5.
> I took a closer look at it today, so here are the results. The fault occu=
> in atu_initial_config(), at:
> switch (ic->ic_nw_keys[ic->ic_def_txkey].wk_keylen)
> At this time, ic->ic_def_txkey =3D 65535 (=3D IEEE80211_KEYIX_NONE, most
> probably initialized by ieee80211_crypto_attach()), which is far beyond t=
> end of the array (size: IEEE80211_WEP_NKID =3D 4).
> Should I send a PR or does somebody have a fix ?