diff options
author | Tonghao Zhang <xiangxia.m.yue@gmail.com> | 2018-02-04 06:45:38 -0800 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-02-05 09:21:36 -0800 |
commit | e8e1a4097434114b07c57d183daf617fc2998675 (patch) | |
tree | a67faa350cfea148bf3414917286aafebe2b856a /datapath-windows | |
parent | 8e8b56d098e73d4b84b304f54afab561614930f9 (diff) | |
download | openvswitch-e8e1a4097434114b07c57d183daf617fc2998675.tar.gz |
netdev-linux: Report netdev change events when mac changed.
When mac addr of ports on bridge has been changed, for example,
$ ip link set dev eth0 address 00:11:22:33:44:55
we should reconfigure the datapath id and mac addr of local port.
But now openvswitch dont do that as expected.
A simple example of how to reproduce it:
$ ovs-vsctl add-br br0
$ ifconfig br0 # for example, mac is c6:c6:d7:46:b4:4b
$ ip link set dev br0 address 00:11:22:33:44:55
$ ifconfig br0 # mac of br0 will be 00:11:22:33:44:55
then repeat:
$ ip link set dev br0 address 00:11:22:33:44:55
$ ifconfig br0 # mac of br0 will be c6:c6:d7:46:b4:4b
This patch reports the mac changed event when ports changed, then
openvswitch will reconfigure the datapath id and mac addr of local
port.
Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'datapath-windows')
0 files changed, 0 insertions, 0 deletions