backports: only add net_get_random_once() when not available
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 31 May 2014 13:52:42 +0000 (15:52 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Jun 2014 22:16:18 +0000 (00:16 +0200)
commitd787b3dd3b4fcb5f40eb6532163dc3abdca4fd45
tree92c51f3e7067ac053b8ba43c50b9272949cfa3a5
parentf9394bb11e68f55ac3073fb40842c989b2cc27f8
backports: only add net_get_random_once() when not available

net_get_random_once() was added unconditionally also when the kernel we
are compiling against already provided this function, this patch checks
that first.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/backport-include/linux/net.h