[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230314144159.2354729-1-gaoxingwang1@huawei.com>
Date: Tue, 14 Mar 2023 22:41:59 +0800
From: gaoxingwang <gaoxingwang1@...wei.com>
To: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<davem@...emloft.net>, <yoshfuji@...ux-ipv6.org>, <kuba@...nel.org>
CC: <pabeni@...hat.com>, <shuah@...nel.org>, <liaichun@...wei.com>,
<yanan@...wei.com>
Subject: ipv4:the same route is added repeatedly
When i add default route in /etc/sysconfig/static-routes, and then restart network service, it appears to add two same default route:
[root@...alhost ~]# ip r
default via 9.82.0.1 dev eth0
default via 9.82.0.1 dev eth0
The static-routes file contents are as follows:
any net 0.0.0.0 netmask 0.0.0.0 gw 110.1.62.1
This problem seems to be related to patch f96a3d7455(ipv4: Fix incorrect route flushing when source address is deleted). When I revert this patch, the problem gets fixed.
Is that a known issue?
Powered by blists - more mailing lists