ieee80211_process_callback() use in drivers

Adrian Chadd adrian at freebsd.org
Thu Aug 18 02:31:51 UTC 2011


On 18 August 2011 10:10, PseudoCylon <moonlightakkiy at yahoo.ca> wrote:

>> Hm, I fixed the status check in the BAR TX routines.
>> Is that enough? Or are you saying that the node ref is freed somewhere
>> inside ic_raw_xmit() on a TX failure?
>
> Sorry, I found the commit after replied.
>
> But, drivers call ieee80211_free_node() in ic_raw_xmit() on failure.

Hm, so we can't kill the free, because ieee80211_ref_node() is called early on.
So if ic->ic_raw_xmit(), just return ret, rather then "goto bad" ?


Adrian


More information about the freebsd-wireless mailing list