diff options
author | Gabriel Oginski <gabrielx.oginski@intel.com> | 2023-02-24 10:22:32 +0000 |
---|---|---|
committer | Fan Zhang <fanzhang.oss@gmail.com> | 2023-02-27 13:33:21 +0000 |
commit | a10437fcccc58626d00aa3814ccf18313a5b1a17 (patch) | |
tree | 44f78c5764bd437aee7b2a09b11395c7a147f7b2 /extras/vcl-ldpreload | |
parent | 5035bf04130a35b76f6b49f450e27d02bafb9dab (diff) |
wireguard: fix potential leaks of async frame
The current implementation can cause memory leaks of async frames
and exhaust the async frames pool. Wireguard can early get async frame,
even when later it turns out it is not needed. Then such frame won't
be freed.
This fix changes the moment of acquiring async frame from the pool, so
it doesn't leak.
Type: fix
Signed-off-by: Gabriel Oginski <gabrielx.oginski@intel.com>
Change-Id: If7696de6a6f5db84e0dffef60caa31d4a5e6280e
Diffstat (limited to 'extras/vcl-ldpreload')
0 files changed, 0 insertions, 0 deletions