summaryrefslogtreecommitdiffhomepage
path: root/src/compat
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-08-02 04:11:52 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-08-02 07:40:26 +0200
commitd5341417e85ae7f70a98d5b55cfd99a14d2aa0bd (patch)
tree7507f27ce6a5333ef74d0b7d6065ea2e96a99cb5 /src/compat
parent2b4023d7cadae4a712de768196171bafc2af24b7 (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/compat')
0 files changed, 0 insertions, 0 deletions