FreeBSD/src 7139b2f (r341977) — sys/dev/mlx5/mlx5_en mlx5_en_ethtool.c mlx5_en_main.c
MFC r341582: mlx5en: Fix race in mlx5e_ethtool_debug_stats(). Writing to the debug stats variable must be locked, else serialization will be lost which might cause various kernel panics due to creating and destroying sysctls out of order. Make sure the sysctl context is initialized after freeing the sysctl nodes, else they can be freed twice. Sponsored by: Mellanox Technologies
Delta | File | |
---|---|---|
+14 | -13 | sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c |
+4 | -8 | sys/dev/mlx5/mlx5_en/mlx5_en_main.c |
+0 | -1 | sys/dev/mlx5/mlx5_en/en.h |
+18 | -22 | 3 files |