]> xenbits.xensource.com Git - people/andrewcoop/mini-os.git/commit
Mini-OS: fix 9pfs response receiving
authorJuergen Gross <jgross@suse.com>
Tue, 21 Nov 2023 09:49:53 +0000 (10:49 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 21 Nov 2023 21:05:11 +0000 (21:05 +0000)
commitb08019f0b2fbc30c75169a160acb9fd9af5d68f4
treec9529b7732b29aed42ee06e77f785db93caaca17
parent02c0e51fc9ab7cf404414431de224a62a62f558d
Mini-OS: fix 9pfs response receiving

When copying a 9pfs response chunk from the ring buffer across the
ring end, the local ring pointer and length field are not updated
correctly. Fix that.

Fixes: 0924fec1de58 ("Mini-OS: add 9pfs transport layer")
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
9pfront.c