Skip to content

device: commit the l3cd changes via l3cfg during cleanup

Wen Liang requested to merge wl/tmp into main

In nm_device_cleanup(), the routes and addresses are removed directly by bypassing the l3cfg, which makes the l3cfg think that some addresses are still configured but they are actually already disappeared from the kernel already.

To fix it, commit the l3cd changes through l3cfg instead of removing the addresses/routes directly.

Signed-off-by: Wen Liang liangwen12year@gmail.com

Merge request reports

Loading