]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ch_ktls: do not send snd_una update to TCB in middle
authorVinay Kumar Yadav <vinay.yadav@chelsio.com>
Thu, 15 Apr 2021 07:47:48 +0000 (13:17 +0530)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 7 May 2021 07:54:03 +0000 (09:54 +0200)
commit6b5b635408a9062a1948a7a8151b13a4dde41df8
tree392595917a3d05e9a7ed832b96985e1df926c70e
parent1543355d46d753b202154d1f2a67df2cf9dacd62
ch_ktls: do not send snd_una update to TCB in middle

BugLink: https://bugs.launchpad.net/bugs/1926999
commit e8a4155567b3c903f49cbf89b8017e9cc22c4fe4 upstream.

snd_una update should not be done when the same skb is being
sent out.chcr_short_record_handler() sends it again even
though SND_UNA update is already sent for the skb in
chcr_ktls_xmit(), which causes mismatch in un-acked
TCP seq number, later causes problem in sending out
complete record.

Fixes: 429765a149f1 ("chcr: handle partial end part of a record")
Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Signed-off-by: Rohit Maheshwari <rohitm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c