mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 12:20:36 +01:00
platform: assert for namespace in nm_platform_cache_update_emit_signal()
This commit is contained in:
parent
5a69b27a64
commit
8746dddda2
1 changed files with 4 additions and 0 deletions
|
|
@ -5694,6 +5694,10 @@ nm_platform_cache_update_emit_signal (NMPlatform *self,
|
|||
|
||||
ASSERT_nmp_cache_ops (nm_platform_get_cache (self), cache_op, obj_old, obj_new);
|
||||
|
||||
nm_assert (NM_IN_SET (nm_platform_netns_get (self),
|
||||
NULL,
|
||||
nmp_netns_get_current ()));
|
||||
|
||||
NMTST_ASSERT_PLATFORM_NETNS_CURRENT (self);
|
||||
|
||||
switch (cache_op) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue