Re: [PATCH net-next 2/5] once: make helper generic for calling function once

2015-10-07 Thread Daniel Borkmann
On 10/07/2015 06:16 PM, Alexei Starovoitov wrote: On 10/7/15 6:43 AM, Daniel Borkmann wrote: From: Hannes Frederic Sowa Make the get_random_once() helper generic enough, so that functions in general would only be called once, where one user of this is then net_get_random_once(). The only imple

Re: [PATCH net-next 2/5] once: make helper generic for calling function once

2015-10-07 Thread Alexei Starovoitov
On 10/7/15 6:43 AM, Daniel Borkmann wrote: From: Hannes Frederic Sowa Make the get_random_once() helper generic enough, so that functions in general would only be called once, where one user of this is then net_get_random_once(). The only implementation specific call is to get_random_bytes(), a

[PATCH net-next 2/5] once: make helper generic for calling function once

2015-10-07 Thread Daniel Borkmann
From: Hannes Frederic Sowa Make the get_random_once() helper generic enough, so that functions in general would only be called once, where one user of this is then net_get_random_once(). The only implementation specific call is to get_random_bytes(), all the rest of this *_once() facility would