On Thursday, June 29, 2023 4:59 AM, Jakub Kicinski wrote:
On Wed, 28 Jun 2023 11:32:28 +0200 Louis Peens wrote:
The configured mc addresses are not removed from application firmware when driver exits. This will cause resource leak when repeatedly creating and destroying VFs.
I think the justification is somewhat questionable, too. VF is by definition not trusted. Does FLR not clean up the resources?
Sorry, it doesn't. And I also find that moving netdev from one namespace to another causes the same problem. So this fix is not for the VF case only.