diff options
| author | Jason A. Donenfeld <[email protected]> | 2017-06-08 02:34:26 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2017-06-20 02:06:28 +0000 |
| commit | 6787ab81b29115b6d2e7d17fe8a8017da66197d6 (patch) | |
| tree | c926aac68602cbf76c6aa121fcacf5902cfc749f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | cifs: use get_random_u32 for 32-bit lock random (diff) | |
| download | kernel-6787ab81b29115b6d2e7d17fe8a8017da66197d6.tar.gz kernel-6787ab81b29115b6d2e7d17fe8a8017da66197d6.zip | |
iscsi: ensure RNG is seeded before use
It's not safe to use weak random data here, especially for the challenge
response randomness. Since we're always in process context, it's safe to
simply wait until we have enough randomness to carry out the
authentication correctly.
While we're at it, we clean up a small memleak during an error
condition.
Signed-off-by: Jason A. Donenfeld <[email protected]>
Cc: "Nicholas A. Bellinger" <[email protected]>
Cc: Lee Duncan <[email protected]>
Cc: Chris Leech <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions
