Backport random from Linux 3.14