From: "jun.gu"
Fix bug that ovn-sbctl daemon process exit when list non-existed
ha_chassis.
Submitted-at: https://github.com/ovn-org/ovn/pull/151
Signed-off-by: Jun Gu
---
utilities/ovn-sbctl.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/utilities/ovn-sbctl.c b/utilities/o
Ensure that the provided netdev name is not one of its aliases to
prevent unnecessary creation and destruction of the vport by
ovs-vswitchd.
Signed-off-by: Jun Gu
Acked-by: Eelco Chaudron
---
net/openvswitch/vport-netdev.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
From: "jun.gu"
Ensure that the provided netdev name is not one of its aliases to
prevent unnecessary creation and destruction of the vport by
ovs-vswitchd.
Signed-off-by: jun.gu
Acked-by: Eelco Chaudron
---
net/openvswitch/vport-netdev.c | 5 -
1 file changed, 4 insertions(+), 1
My mistake, I'm wondering that I need to submit a new patch or a v5
version based on this patch?
在 4/23/24 08:38, Jakub Kicinski 写道:
On Fri, 19 Apr 2024 14:14:25 +0800 Jun Gu wrote:
vport->dev = dev_get_by_name(ovs_dp_get_net(vport->dp), name);
- if (!vpor
ration to run
repeatedly.
So the above issue can be avoided by the patch.
在 4/15/24 18:04, Eelco Chaudron 写道:
On 13 Apr 2024, at 10:48, jun.gu wrote:
Check vport name from dev_get_by_name, this can avoid to add and remove
NIC repeatedly when NIC rename failed at system startup.
Signed-off-by:
dev_get_by_name will provide a reference on the netdev. So ensure that
the reference of netdev is released after completed.
Fixes: 2540088b836f ("net: openvswitch: Check vport netdev name")
Signed-off-by: Jun Gu
---
net/openvswitch/vport-netdev.c | 8 ++--
1 file changed, 6 insert