diff options
author | Tao Liu <thomas.liu@ucloud.cn> | 2022-06-30 16:34:04 +0800 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-07-26 12:41:41 +0200 |
commit | 378b51c6b05c9feeac6ec9375f72451075e5c3f8 (patch) | |
tree | c236f5930639a271b885cc72e105d0647e2e790f /lib/netdev-linux.c | |
parent | 1cecd385f4e756943d8099c2574fcc822fb9fc46 (diff) | |
download | openvswitch-378b51c6b05c9feeac6ec9375f72451075e5c3f8.tar.gz |
netdev: Clear auto_classified if netdev reopened with the type specified.
When netdev first opened by netdev_open(..., NULL, ...), netdev_class sets
to system by default, and auto_classified sets to true.
If netdev reopens by netdev_open(..., "system", ...), auto_classified
should be cleared. This will be used in next patch to fix lag issue.
Fixes: 8c2c225e481d ("netdev: Fix netdev_open() to track and recreate classless interfaces")
Signed-off-by: Tao Liu <thomas.liu@ucloud.cn>
Acked-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'lib/netdev-linux.c')
0 files changed, 0 insertions, 0 deletions