svn commit: r232526 - head/sys/net80211

Adrian Chadd adrian at freebsd.org
Mon Mar 5 01:37:58 UTC 2012


grr, i must've mis-pasted the line. thanks, I'll fix this.


Adrian


On 4 March 2012 16:53, Andrew Thompson <thompsa at freebsd.org> wrote:
> On 5 March 2012 12:13, Adrian Chadd <adrian at freebsd.org> wrote:
>> Author: adrian
>> Date: Sun Mar  4 23:13:52 2012
>> New Revision: 232526
>> URL: http://svn.freebsd.org/changeset/base/232526
>>
>> Log:
>>  Add the thread id to the net80211 alq records.
>>
>>  This will (hopefully) aid in debugging concurrency related issues.
>>
>> Modified:
>>  head/sys/net80211/ieee80211_alq.c
>>  head/sys/net80211/ieee80211_alq.h
>>
>> Modified: head/sys/net80211/ieee80211_alq.c
>> ==============================================================================
>> --- head/sys/net80211/ieee80211_alq.c   Sun Mar  4 23:04:16 2012        (r232525)
>> +++ head/sys/net80211/ieee80211_alq.c   Sun Mar  4 23:13:52 2012        (r232526)
>> @@ -152,6 +152,7 @@ ieee80211_alq_log(struct ieee80211vap *v
>>        r->r_version = 1;
>>        r->r_wlan = htons(vap->iv_ifp->if_dunit);
>>        r->r_op = op;
>> +       r->r_threadid = (uint32_t) curthread->td_ucred;
>
> Shouldn't this be td_tid?
>
>
> Andrew


More information about the svn-src-all mailing list