freebsd-nq/sys/ofed/drivers
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
..
infiniband ib mad: fix an incorrect use of list_for_each_entry 2015-07-30 18:28:37 +00:00
net/mlx4 Add SIOCGI2C ioctl support to the driver. Would work only on ConnectX-3 2015-05-27 13:42:28 +00:00