diff options
author | adrian <adrian@FreeBSD.org> | 2012-03-04 23:13:52 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-03-04 23:13:52 +0000 |
commit | 44c3f77031da7b40f171b68abee35407a0e7945d (patch) | |
tree | 232d6f2c5bdb732c56741b99137215133aed5053 /sys/net80211/ieee80211_alq.c | |
parent | 83811db6cbd92c2c09bae276e709fd1b8beed0a0 (diff) | |
download | FreeBSD-src-44c3f77031da7b40f171b68abee35407a0e7945d.zip FreeBSD-src-44c3f77031da7b40f171b68abee35407a0e7945d.tar.gz |
Add the thread id to the net80211 alq records.
This will (hopefully) aid in debugging concurrency related issues.
Diffstat (limited to 'sys/net80211/ieee80211_alq.c')
-rw-r--r-- | sys/net80211/ieee80211_alq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_alq.c b/sys/net80211/ieee80211_alq.c index 1586b5e..b4216ba 100644 --- a/sys/net80211/ieee80211_alq.c +++ b/sys/net80211/ieee80211_alq.c @@ -152,6 +152,7 @@ ieee80211_alq_log(struct ieee80211vap *vap, uint8_t op, u_char *p, int l) 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; memcpy(&r->r_payload, p, MIN(l, sizeof(r->r_payload))); alq_post(ieee80211_alq, ale); } |