|
@@ -1942,11 +1942,8 @@ static void mlxsw_sp_router_neigh_ent_ipv4_process(struct mlxsw_sp *mlxsw_sp,
|
|
|
dipn = htonl(dip);
|
|
|
dev = mlxsw_sp->router->rifs[rif]->dev;
|
|
|
n = neigh_lookup(&arp_tbl, &dipn, dev);
|
|
|
- if (!n) {
|
|
|
- netdev_err(dev, "Failed to find matching neighbour for IP=%pI4h\n",
|
|
|
- &dip);
|
|
|
+ if (!n)
|
|
|
return;
|
|
|
- }
|
|
|
|
|
|
netdev_dbg(dev, "Updating neighbour with IP=%pI4h\n", &dip);
|
|
|
neigh_event_send(n, NULL);
|
|
@@ -1973,11 +1970,8 @@ static void mlxsw_sp_router_neigh_ent_ipv6_process(struct mlxsw_sp *mlxsw_sp,
|
|
|
|
|
|
dev = mlxsw_sp->router->rifs[rif]->dev;
|
|
|
n = neigh_lookup(&nd_tbl, &dip, dev);
|
|
|
- if (!n) {
|
|
|
- netdev_err(dev, "Failed to find matching neighbour for IP=%pI6c\n",
|
|
|
- &dip);
|
|
|
+ if (!n)
|
|
|
return;
|
|
|
- }
|
|
|
|
|
|
netdev_dbg(dev, "Updating neighbour with IP=%pI6c\n", &dip);
|
|
|
neigh_event_send(n, NULL);
|