[Intel-wired-lan] [PATCH iwl-net v1 2/2] iavf: fix QoS capabilities memory leak

Jagielski, Jedrzej jedrzej.jagielski at intel.com
Wed Jul 15 07:24:45 UTC 2026


From: xuanqiang.luo at linux.dev <xuanqiang.luo at linux.dev> 
Sent: Wednesday, July 15, 2026 8:12 AM

>From: Xuanqiang Luo <luoxuanqiang at kylinos.cn>
>
>Commit 4c1a457cb8b0 ("iavf: add support to exchange qos capabilities")
>allocates adapter->qos_caps during probe, but iavf_remove() does not
>free it. This leaks the allocation whenever an iavf device is removed.
>
>Free adapter->qos_caps in iavf_remove().
>
>Fixes: 4c1a457cb8b0 ("iavf: add support to exchange qos capabilities")
>Cc: stable at vger.kernel.org
>Signed-off-by: Xuanqiang Luo <luoxuanqiang at kylinos.cn>

Reviewed-by: Jedrzej Jagielski <jedrzej.jagielski at intel.com>


More information about the Intel-wired-lan mailing list