Find all functions $f$ that assign a real number $f(x)$ to every real number $x$ such that $$(x+y)f(x)+f(y^2)=(x+y)f(y)+f(x^2)$$
I've tried subbing in heaps of values but I keep getting things like $f(0)=f(0)$ and other such useless results.
Any help would be hugely appreciated.