]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When a firmware command times out do not free the command structure to
authorHans Petter Selasky <hselasky@FreeBSD.org>
Mon, 7 Nov 2016 11:15:40 +0000 (11:15 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Mon, 7 Nov 2016 11:15:40 +0000 (11:15 +0000)
commit97ac39086142ed8cacf7e5b67a2c4b71549f9ce1
treeae45653cdbce17e87b4702f6ca6d083dd638dfe3
parentfe0660840467f57335fe1353b6c16ef0e1aaa731
When a firmware command times out do not free the command structure to
avoid use after free.

Sponsored by: Mellanox Technologies
MFC after: 1 week
sys/dev/mlx5/mlx5_core/mlx5_cmd.c