linux/drivers/net/ethernet/mellanox/mlxsw
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
..
cmd.h
core.c mlxsw: core: Fix race condition in __mlxsw_emad_transmit 2015-10-15 06:03:06 -07:00
core.h mlxsw: Simplify mlxsw_sx_port_xmit function 2015-08-09 22:54:10 -07:00
emad.h mlxsw: Add interface to access registers and process events 2015-07-30 00:05:00 -07:00
item.h mlxsw: Fix bug in __mlxsw_item_bit_array_offset 2015-10-11 05:08:09 -07:00
Kconfig mlxsw: Make pci module dependent on HAS_DMA and HAS_IOMEM 2015-08-09 22:54:09 -07:00
Makefile mlxsw: Introduce Mellanox SwitchX-2 ASIC support 2015-07-30 00:05:00 -07:00
pci.c mlxsw: fix warnings for big-endian 32-bit dma_addr_t 2015-10-08 05:04:30 -07:00
pci.h mlxsw: Strip FCS from incoming packets 2015-08-09 22:54:10 -07:00
port.h mlxsw: Introduce Mellanox SwitchX-2 ASIC support 2015-07-30 00:05:00 -07:00
reg.h mlxsw: Make system port to local port mapping explicit 2015-08-09 22:54:09 -07:00
switchx2.c mlxsw: switchx2: changing order of exit fallbacks 2015-10-11 05:08:08 -07:00
trap.h
txheader.h mlxsw: Introduce Mellanox SwitchX-2 ASIC support 2015-07-30 00:05:00 -07:00