Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/sfc: fix MAC stats lock in xstats query by ID
[ upstream commit 9076e85 ] Add MAC stats lock in xstats_get_by_id() callback before reading number of supported MAC stats. Fixes: 73280c1 ("net/sfc: support xstats retrieval by ID") Signed-off-by: Ivan Ilchenko <ivan.ilchenko@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Reviewed-by: Andy Moreton <amoreton@xilinx.com>
- Loading branch information