summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-at91-usart.c
diff options
context:
space:
mode:
authorElad Grupi <elad.grupi@dell.com>2021-03-31 12:13:14 +0300
committerChristoph Hellwig <hch@lst.de>2021-04-15 09:12:50 +0300
commitbdaf13279192c60b2b1fc99badef53b494fec055 (patch)
tree0ec1e9a2a42c85dac6177d6b724028629421a524 /drivers/spi/spi-at91-usart.c
parentf8ee34a929a4adf6d29a7ef2145393e6865037ad (diff)
downloadlinux-bdaf13279192c60b2b1fc99badef53b494fec055.tar.xz
nvmet-tcp: fix a segmentation fault during io parsing error
In case there is an io that contains inline data and it goes to parsing error flow, command response will free command and iov before clearing the data on the socket buffer. This will delay the command response until receive flow is completed. Fixes: 872d26a391da ("nvmet-tcp: add NVMe over TCP target driver") Signed-off-by: Elad Grupi <elad.grupi@dell.com> Signed-off-by: Hou Pu <houpu.main@gmail.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/spi/spi-at91-usart.c')
0 files changed, 0 insertions, 0 deletions