]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
idpf: set the payload size before calling the async handler
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 19 Mar 2026 21:13:35 +0000 (14:13 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 6 Apr 2026 20:39:15 +0000 (13:39 -0700)
commit8e2a2420e267a515f6db56a6e9570b5cacd92919
tree268ef08049d8bdaeb38ae78d35f3a365bbdb0453
parentd086fae65006368618104ba4c57779440eab2217
idpf: set the payload size before calling the async handler

Set the payload size before forwarding the reply to the async handler.
Without this, xn->reply_sz will be 0 and idpf_mac_filter_async_handler()
will never get past the size check.

Fixes: 34c21fa894a1 ("idpf: implement virtchnl transaction manager")
Cc: stable@vger.kernel.org
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Li Li <boolli@google.com>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Tested-by: Samuel Salin <Samuel.salin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/idpf/idpf_virtchnl.c