Re: [PATCH] xen/pvcalls: bound backend response req_id before indexing rsp[]
From: Jürgen Groß
Date: Wed Jun 10 2026 - 08:25:35 EST
On 10.06.26 13:50, Michael Bommarito wrote:
On Wed, Jun 10, 2026 at 7:48 AM Juergen Gross <jgross@xxxxxxxx> wrote:
Please add an error message here, using pr_err_once().
Instead of just ignoring such responses, I'd consider stopping communication
with the backend for this device.
Good points. Do you know if there is a canonical way to track
bad/buggy backends I should reference or reuse?
You could follow the xen-netback example (see xenvif_fatal_tx_err() and its
callers in drivers/net/xen-netback/netback.c).
Juergen
Attachment:
OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature