freebsd-dev/sys/ofed
Mark Johnston e2e45da0e8 ib mad: fix an incorrect use of list_for_each_entry
In tf_dequeue(), if we reach the end of the list without finding a
non-cancelled element, "tmp" will be a pointer into the list head, so the
tmp->canceled check is bogus. Use a flag instead.

Submitted by:	Tao Liu <Tao.Liu@isilon.com>
Reviewed by:	hselasky
MFC after:	1 week
Sponsored by:	EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D3244
2015-07-30 18:28:37 +00:00
..
drivers ib mad: fix an incorrect use of list_for_each_entry 2015-07-30 18:28:37 +00:00
include Fix broken implementation of "kvasprintf()" function by adding missing 2015-07-03 11:16:20 +00:00