linux-stable/net/ncsi
Cosmo Chou cc8efc78c3 net/ncsi: clear Tx enable mode when handling a Config required AEN
[ Upstream commit 6f75cd166a ]

ncsi_channel_is_tx() determines whether a given channel should be
used for Tx or not. However, when reconfiguring the channel by
handling a Configuration Required AEN, there is a misjudgment that
the channel Tx has already been enabled, which results in the Enable
Channel Network Tx command not being sent.

Clear the channel Tx enable flag before reconfiguring the channel to
avoid the misjudgment.

Fixes: 8d951a75d0 ("net/ncsi: Configure multi-package, multi-channel modes with failover")
Signed-off-by: Cosmo Chou <chou.cosmo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-17 11:48:10 +02:00
..
internal.h
Kconfig
Makefile
ncsi-aen.c net/ncsi: clear Tx enable mode when handling a Config required AEN 2023-05-17 11:48:10 +02:00
ncsi-cmd.c net/ncsi : Add payload to be 32-bit aligned to fix dropped packets 2021-12-01 09:19:06 +01:00
ncsi-manage.c net/ncsi: Avoid channel_monitor hrtimer deadlock 2021-04-14 08:42:08 +02:00
ncsi-netlink.c net/ncsi: check for error return from call to nla_put_u32 2022-01-05 12:40:32 +01:00
ncsi-netlink.h
ncsi-pkt.h
ncsi-rsp.c