Skip to content
Snippets Groups Projects
Commit 0cd4f7ee authored by Ivan Ilchenko's avatar Ivan Ilchenko Committed by Luca Boccassi
Browse files

net/sfc: fix MAC stats update for stopped device


[ upstream commit 1827b073 ]

Return the latest stats snapshot in stopped state
instead of returning an error.

Fixes: 1caab2f1 ("net/sfc: add basic statistics")

Signed-off-by: default avatarIvan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Signed-off-by: default avatarAndrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: default avatarAndy Moreton <amoreton@xilinx.com>
parent b84a0ebd
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment