]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r352989:
authorHans Petter Selasky <hselasky@FreeBSD.org>
Mon, 7 Oct 2019 10:09:26 +0000 (10:09 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Mon, 7 Oct 2019 10:09:26 +0000 (10:09 +0000)
commit456709564fd5ae0c04bcdcb9e8ad194ef267625c
tree35f3f39f7d6c9842f557ecfc1fe4c6793b2a27d4
parentdea0127dc48b673656b7873cf7e707c2db536604
MFC r352989:
Seal transmit path with regards to using destroyed mutex in mlx5en(4).

It may happen during link down that the running state may be observed
non-zero in the transmit routine, right before the running state is
cleared. This may end up using a destroyed mutex.

Make all channel mutexes and callouts persistant.

Preserve receive and send queue statistics during link toggle.

Sponsored by: Mellanox Technologies
sys/dev/mlx5/mlx5_en/en.h
sys/dev/mlx5/mlx5_en/mlx5_en_main.c