[PATCH 5.15 510/565] net/neighbor: clear error in case strict check is not set