Please sign in to comment.
net/bnxt: fix extended port counter statistics
[ upstream commit b02a39ba3ba043827fb91c175900aed0eddf0d2d ] We were trying to fill in more rx extended stats than the size allocated for stats causing segfault. Fixed this by adding an explicit check. Rearranged the code to return statistic values in xstats_get as per the names returned in xstats_get_names. Fixes: f55e12f ("net/bnxt: support extended port counters") Signed-off-by: Rahul Gupta <email@example.com> Signed-off-by: Santoshkumar Karanappa Rastapur <firstname.lastname@example.org> Signed-off-by: Somnath Kotur <email@example.com>
- Loading branch information