Let $K$ be a field, $f(X)\in K[X]$ be a polynomial of prime degree. Assume that for all extension $L$ of $K$, if $f$ has roots in $L$ then $f$ splits over $L$. Prove that either $f$ is irreducible over $K$ or $f$ splits over $K$.
How do I prove it?
Thanks a lot.