First you wrote that ##G## is constant :
Now, if ##G## is function of ##t## the general solution of the PDE , before any further condition, becomes:
## n(t,L,p)=F\left( \left( L - \int G(p,t)dt \right)\:,\: p\: \right) ##
where ##F## is any differentiable function of two variables.
Well, it...