]> Git Repo - linux.git/commit
mlxsw: switchx2: Don't count internal TX header bytes to stats
authorNogah Frankel <[email protected]>
Fri, 17 Jun 2016 13:09:06 +0000 (15:09 +0200)
committerDavid S. Miller <[email protected]>
Sat, 18 Jun 2016 04:57:53 +0000 (21:57 -0700)
commit4e239fac7c6b9d703e83c81b52ec9fec00c50129
tree9d3208177264ba4356c7f46a8691d39f558472b7
parent63dcdd35c1552ca0c911e98ba3389a0729a457f4
mlxsw: switchx2: Don't count internal TX header bytes to stats

Stop the SW TX counter from counting the TX header bytes
since they are not being sent out.

Fixes: e577516b9db3 ("mlxsw: Fix use-after-free bug in mlxsw_sx_port_xmit")
Signed-off-by: Nogah Frankel <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/mellanox/mlxsw/switchx2.c
This page took 0.053862 seconds and 4 git commands to generate.