Re: git: 91f44749c6fe - main - ifnet: make if_index global
- In reply to: Gleb Smirnoff : "Re: git: 91f44749c6fe - main - ifnet: make if_index global"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Feb 2022 16:55:56 UTC
Marko, I have thought more on that and I can suggest a compromise where I would make the ifindex back virtualized and the mbuf pointer serialization would use it. This will lead to awkward effects when restoring an if_vmoved interface, and for such interfaces will leave the panics where they are now. Back in December this approach lead to dummynet tests to keep panicing, however fixing real life scenatios. But now, with 80fc25025ff, I suppose it shall pass all tests and indeed fix the problem for real life scenarios. -- Gleb Smirnoff