On 12/22/2013 01:28 PM, Johannes Berg wrote: > On Sun, 2013-12-22 at 12:57 +0100, Arend van Spriel wrote: >> Map prandom_bytes() calls to get_random_bytes() for kernels before >> 3.8 kernel. This patch is needed by mac80211 rate control code >> since following: > >> +/* use get_random_bytes() for lack of prandom_bytes() */ >> +#define prandom_bytes(a, b) get_random_bytes(a, b) > > I don't think this is a good idea, it's a completely different interface > (get_random_bytes is much higher "quality".) > > We had a different patch for this fairly recently and I thought Luis > applied it? Yes a different patch is already in backports: https://git.kernel.org/cgit/linux/kernel/git/backports/backports.git/commit/?id=40ab1bac8c3680d726ee31fbdb590584ae99756f Hauke -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html