diff options
| author | 2026-09-07 12:59:02 +0200 | |
|---|---|---|
| committer | 2026-10-09 16:36:15 +0200 | |
| commit | fbe0f84135140565258e5bbee9c7e1f2826ee8ef (patch) | |
| tree | f805fedffd1755572c2bce33cb4b56a197342c83 /scripts/Makefile.thinlto | |
| parent | ovpn: remove unused work field from struct ovpn_socket (diff) | |
ovpn: remove redundant peer NULL checks in crypto post functions
The AEAD helpers set the peer pointer in the skb control buffer before
any error return or crypto request submission. Both crypto paths hold
a peer reference until post-processing finishes.
Remove the redundant NULL checks before ovpn_peer_put() in
ovpn_encrypt_post() and ovpn_decrypt_post().
Signed-off-by: Marco Baffo <marco@mandelbit.com>
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
