android_kernel_xiaomi_sm8450/drivers/nvme/target
Maurizio Lombardi c598e2704c nvmet-tcp: fix unhandled tcp states in nvmet_tcp_state_change()
[ Upstream commit 478814a5584197fa1fb18377653626e3416e7cd6 ]

TCP_FIN_WAIT2 and TCP_LAST_ACK were not handled, the connection is closing
so we can ignore them and avoid printing the "unhandled state"
warning message.

[ 1298.852386] nvmet_tcp: queue 2 unhandled state 5
[ 1298.879112] nvmet_tcp: queue 7 unhandled state 5
[ 1298.884253] nvmet_tcp: queue 8 unhandled state 5
[ 1298.889475] nvmet_tcp: queue 9 unhandled state 5

v2: Do not call nvmet_tcp_schedule_release_queue(), just ignore
the fin_wait2 and last_ack states.

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-09-20 12:38:32 +02:00
..
admin-cmd.c nvmet: remove unsupported command noise 2021-05-22 11:40:54 +02:00
configfs.c nvmet: fix use-after-free when a port is removed 2021-11-18 14:03:58 +01:00
core.c nvmet: fix a use-after-free 2022-09-15 11:32:03 +02:00
discovery.c nvmet: return proper error code from discovery ctrl 2021-05-11 14:47:26 +02:00
fabrics-cmd.c nvmet: pass back cntlid on successful completion 2021-09-15 09:50:25 +02:00
fc.c nvmet-fc: do not check for invalid target port in nvmet_fc_handle_fcp_rqst() 2021-07-14 16:56:00 +02:00
fcloop.c
io-cmd-bdev.c nvmet: fix inline bio check for bdev-ns 2021-05-19 10:13:14 +02:00
io-cmd-file.c nvmet: use IOCB_NOWAIT only if the filesystem supports it 2021-12-01 09:19:07 +01:00
Kconfig
loop.c nvme: code command_id with a genctr for use-after-free validation 2021-09-18 13:40:29 +02:00
Makefile
nvmet.h nvmet: fix false keep-alive timeout when a controller is torn down 2021-06-16 12:01:38 +02:00
passthru.c nvme: split nvme_alloc_request() 2022-06-29 08:59:49 +02:00
rdma.c nvmet-rdma: fix use-after-free when a port is removed 2021-11-18 14:03:59 +01:00
tcp.c nvmet-tcp: fix unhandled tcp states in nvmet_tcp_state_change() 2022-09-20 12:38:32 +02:00
trace.c
trace.h