linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Ido Schimmel 53ca376eec mlxsw: core: Fix race condition in __mlxsw_emad_transmit
Under certain conditions EMAD responses can be returned from the device
even before setting trans_active. This will cause the EMAD Rx listener
to drop the EMAD response - as there are no active transactions - and
timeouts will be generated.

Fix this by setting trans_active before transmitting the EMAD skb.

Fixes: 4ec14b7634 ("mlxsw: Add interface to access registers and process events")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-15 06:03:06 -07:00
..
mlx4 net/mlx4_core: Avoid failing the interrupts test 2015-10-09 07:43:38 -07:00
mlx5/core net/mlx5e: Disable VLAN filter in promiscuous mode 2015-10-09 07:43:43 -07:00
mlxsw mlxsw: core: Fix race condition in __mlxsw_emad_transmit 2015-10-15 06:03:06 -07:00
Kconfig mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00
Makefile mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00