Bug 2169512

Summary: Better handle netlink error 'too many netlink events'
Product: Red Hat Enterprise Linux 9 Reporter: Thomas Haller <thaller>
Component: NetworkManagerAssignee: Thomas Haller <thaller>
Status: CLOSED ERRATA QA Contact: David Jaša <djasa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9.2CC: arawal, bgalvani, desktop-qa-list, ferferna, fpokryvk, lrintel, rkhan, sfaye, sferguso, sukulkar, surkumar, thaller, till, vbenes
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: NetworkManager-1.43.5-1.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 2154350 Environment:
Last Closed: 2023-11-07 08:37:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2154350    
Bug Blocks: 2183217    

Description Thomas Haller 2023-02-13 20:02:28 UTC
+++ This bug was initially created as a clone of Bug #2154350 +++

when the netlink receive buffer overflows, we need to resync and loose messages.

Thereby, we might also loose a reply to a request that we made, which causes the operation to fail.

In bug 2154350 and upstream [1], this was fixed for link requests.

[1] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/38d3834e2c464bd4820392800a3a1fe3f286fc62

But for ther netlink requests (e.g. adding an ip address), this is still now working correctly. See https://bugzilla.redhat.com/show_bug.cgi?id=2154350#c5


This bug exists to fix the related issues.

Comment 11 David Jaša 2023-05-30 06:33:38 UTC
VERIFIED in NetworkManager-1.43.8-1.el9: even in "too many netlink events" condition, NM doesn't lose track of IP configuration of interfaces.

Comment 17 errata-xmlrpc 2023-11-07 08:37:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (NetworkManager bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6585