diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-08-02 04:11:52 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-08-02 07:40:26 +0200 |
commit | d5341417e85ae7f70a98d5b55cfd99a14d2aa0bd (patch) | |
tree | 7507f27ce6a5333ef74d0b7d6065ea2e96a99cb5 /src/hashtables.c | |
parent | 2b4023d7cadae4a712de768196171bafc2af24b7 (diff) |
cookie: returned keypair might disappear if rcu lock not held
And in general it's good to prefer dereferencing entry.peer from a
handshake object rather than a keypair object, when possible, since
keypairs could disappear before their underlying peer.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/hashtables.c')
0 files changed, 0 insertions, 0 deletions