Solution by p_square and Supercali.
We claim the only solutions are f(x)≡x and f(x)≡0, which obviously work. We now show they are the only solutions. Let P(x,y) denote the assertion that f(x2+yf(x))=xf(x)+xf(y).
P(0,0)⟹f(0)=0.
P(x,0)⟹f(x2)=xf(x) which further tells us that f(x)=−f(−x).
If f(x)=0,x=0, P(x,y)⟹0=xf(y) and f is constant 0 which is one function. We now assume f isn’t constant.
P(x,−f(x)y)+P(x,f(x)y)⟹f(x2−y)+f(x2+y)=2xf(x)=2f(x2).
For z>0,f(z−y)+f(z+y)=2f(z)=f(2z)+f(0)=f(2z). From oddness, this follows for negatives too, and f is additive.
We have f((x+1)2)=(x+1)f(x+1) ⟹f(x2)+2f(x)+f(1)=xf(x)+f(x)+xf(1)+f(1) ⟹f(x)=xf(1)
for all x. Substituting in the original, we get f(1)=0 or 1, which gives the required solutions.