Solution by jasperE3.
f(xf(x)+f(xy))=xf(x)+xf(y).
P(0,0)⇒f(f(0))=0.
P(f(0),0)⇒f(0)=0.
P(x,0)⇒f(xf(x))=xf(x).
P(1,xf(x))⇒f(xf(x)+f(1))=xf(x)+f(1).
P(x,x1)⇒f(xf(x)+f(1))=xf(x)+xf(x1).
Comparing, we obtain xf(x1)=f(1), so f(x)=xf(1) for all x=0. Combined with f(0)=0, this is true for all x, and testing, we have solutions f(x)=0 and f(x)=x.