Former Solicitor-General Justin Gleeson says the Prime Minister should be seeking legal advice from the current Solicitor-General on whether there are grounds for an independent inquiry into Christian Porter - who has vigorously denied an historic rape allegation.