From: Leon Romanovsky <leon@kernel.org> Date: 2021-06-15 16:21:47
Hi,
The commit 591a22c14d3f ("proc: Track /proc/$pid/attr/ opener mm_struct")
that we got in v5.13-rc6 broke our regression to pieces. The NIC interfaces
fail to start when using NetworkManager.
There is nothing in dmesg except error that NetworkManager failed to start.
Our setups are:
* VMs with virtio-net NICs
* Fedora 29
The revert fixes the issue and VMs boot with network working.
Thanks
On Tue, Jun 15, 2021 at 9:21 AM Leon Romanovsky [off-list ref] wrote:
The commit 591a22c14d3f ("proc: Track /proc/$pid/attr/ opener mm_struct")
that we got in v5.13-rc6 broke our regression to pieces. The NIC interfaces
fail to start when using NetworkManager.
Does the attached patch fix it?
It just makes the open always succeed, and then the private_data that
the open did (that may or may not then have been filled in) is only
used on write.
Linus
From: Leon Romanovsky <leon@kernel.org> Date: 2021-06-15 16:50:02
On Tue, Jun 15, 2021 at 09:26:19AM -0700, Linus Torvalds wrote:
On Tue, Jun 15, 2021 at 9:21 AM Leon Romanovsky [off-list ref] wrote:
quoted
The commit 591a22c14d3f ("proc: Track /proc/$pid/attr/ opener mm_struct")
that we got in v5.13-rc6 broke our regression to pieces. The NIC interfaces
fail to start when using NetworkManager.
Does the attached patch fix it?
I pushed it for testing, will update shortly.
Thanks
It just makes the open always succeed, and then the private_data that
the open did (that may or may not then have been filled in) is only
used on write.
Linus
From: Leon Romanovsky <leon@kernel.org> Date: 2021-06-15 17:45:47
On Tue, Jun 15, 2021 at 09:26:19AM -0700, Linus Torvalds wrote:
On Tue, Jun 15, 2021 at 9:21 AM Leon Romanovsky [off-list ref] wrote:
quoted
The commit 591a22c14d3f ("proc: Track /proc/$pid/attr/ opener mm_struct")
that we got in v5.13-rc6 broke our regression to pieces. The NIC interfaces
fail to start when using NetworkManager.
Does the attached patch fix it?
Yes, this patch fixed the issue.
Tested-by: Leon Romanovsky <leonro@nvidia.com>
Thanks
It just makes the open always succeed, and then the private_data that
the open did (that may or may not then have been filled in) is only
used on write.
Linus
On Tue, Jun 15, 2021 at 10:45 AM Leon Romanovsky [off-list ref] wrote:
Yes, this patch fixed the issue.
Tested-by: Leon Romanovsky <leonro@nvidia.com>
Thanks.
I've committed that minimal fix, although we still seem to have some
unexplained failure in this area for android 7 cm14.1 user space.
This has turned out to be fairly painful, with multiple fixes on top
of fixes, and there's still something odd going on. Grr.
Linus