]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Apr 2026 08:46:46 +0000 (10:46 +0200)
commitfbe9540607ac0e1247ce2d2f2e59cc4b45bc0eea
tree225ae49bfea839b771eaccf07bb74bf258fd4167
parent1259bf14ee29f22e38886e21d4f039ffdb9807fe
idpf: set the payload size before calling the async handler

commit 8e2a2420e267a515f6db56a6e9570b5cacd92919 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/intel/idpf/idpf_virtchnl.c