HomeFreeBSD

MFC r341582:

Description

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

Details

Provenance
hselaskyAuthored on
Parents
rS341975: MFC r341581:
Branches
Unknown
Tags
Unknown