• Andi Kleen's avatar
    [NET]: srandom32 fixes for networking v2 · 61407f80
    Andi Kleen authored
    - Let it update the state of all CPUs. The network stack goes
    into pains to feed the current IP addresses in, but it is not very
    effective if that is only done for some random CPU instead of all.
    So change it to feed bits into all CPUs.  I decided to do that lockless 
    because well somewhat random results are ok.
    
    v2: Drop rename so that this patch doesn't depend on x86 maintainers
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    61407f80
random32.c 3.7 KB