Commit 7ae16624 authored by Ke Chen's avatar Ke Chen Committed by Jeiwei Li
Browse files

roh/core: Synchronously update the mac address of the vlan device when...

roh/core: Synchronously update the mac address of the vlan device when configuring the vlan device ip

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8MTN4



-----------------------------------------------------------------------

In ROH mode, when the IP address of a VLAN device changes, we need
to change the MAC address of the VLAN device to maintain the mapping
between the IP address, EID, and MAC address. In this way, the ARP
fast response in ROH mode can take effect.

Fixes:55901e4a("roh/core: Add support for inetaddr notifier in roh/core")
Signed-off-by: default avatarKe Chen <chenke54@huawei.com>
Reviewed-by: default avatarGang Zhang <gang.zhang@huawei.com>
parent 917584d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment