Permalink
Please
sign in to comment.
Browse files
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 <rahul.gupta@broadcom.com> Signed-off-by: Santoshkumar Karanappa Rastapur <santosh.rastapur@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
- Loading branch information
0 comments on commit
1c90b45