Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2012 13:53:06 +1300
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r232526 - head/sys/net80211
Message-ID:  <CAFAOGNRmHg1jcb9m3duSLaA_Ogb69O59kC5xMLi61dtkrEmiVA@mail.gmail.com>
In-Reply-To: <201203042313.q24NDqVx056556@svn.freebsd.org>
References:  <201203042313.q24NDqVx056556@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5 March 2012 12:13, Adrian Chadd <adrian@freebsd.org> wrote:
> Author: adrian
> Date: Sun Mar =A04 23:13:52 2012
> New Revision: 232526
> URL: http://svn.freebsd.org/changeset/base/232526
>
> Log:
> =A0Add the thread id to the net80211 alq records.
>
> =A0This will (hopefully) aid in debugging concurrency related issues.
>
> Modified:
> =A0head/sys/net80211/ieee80211_alq.c
> =A0head/sys/net80211/ieee80211_alq.h
>
> Modified: head/sys/net80211/ieee80211_alq.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/sys/net80211/ieee80211_alq.c =A0 Sun Mar =A04 23:04:16 2012 =A0 =
=A0 =A0 =A0(r232525)
> +++ head/sys/net80211/ieee80211_alq.c =A0 Sun Mar =A04 23:13:52 2012 =A0 =
=A0 =A0 =A0(r232526)
> @@ -152,6 +152,7 @@ ieee80211_alq_log(struct ieee80211vap *v
> =A0 =A0 =A0 =A0r->r_version =3D 1;
> =A0 =A0 =A0 =A0r->r_wlan =3D htons(vap->iv_ifp->if_dunit);
> =A0 =A0 =A0 =A0r->r_op =3D op;
> + =A0 =A0 =A0 r->r_threadid =3D (uint32_t) curthread->td_ucred;

Shouldn't this be td_tid?


Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFAOGNRmHg1jcb9m3duSLaA_Ogb69O59kC5xMLi61dtkrEmiVA>