svn commit: r260363 - head/sys/dev/ath

Konstantin Belousov kostikbel at gmail.com
Mon Jan 6 17:37:43 UTC 2014


On Sun, Jan 05, 2014 at 09:37:21PM -0800, Adrian Chadd wrote:
> On 5 January 2014 19:51, Konstantin Belousov <kostikbel at gmail.com> wrote:
> > On Mon, Jan 06, 2014 at 03:48:32AM +0000, Adrian Chadd wrote:
> >> Author: adrian
> >> Date: Mon Jan  6 03:48:32 2014
> >> New Revision: 260363
> >> URL: http://svnweb.freebsd.org/changeset/base/260363
> >>
> >> Log:
> >>   Correctly remove entries from the relevant receive ath_buf list before
> >>   freeing them.
> >>
> >>   The current code would walk the list and call the buffer free, which
> >>   didn't remove it from any lists before pushing it back on the free list.
> >>
> >>   Tested:             AR9485, STA mode
> >>
> >>   Noticed by: dillon at apollo.dragonflybsd.org
> > This is a NOP, right ?
> 
> Nope. the previous version didn't remove the entries from the list.
> that's the bug.
Hm, you mean that the previous version did not TAILQ_INIT() after the loop ?
Then I agree.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20140106/8e80ea69/attachment.sig>


More information about the svn-src-head mailing list