diff options
author | Matthew Smith <mgsmith@netgate.com> | 2022-09-02 14:34:38 +0000 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2022-09-08 13:41:54 +0000 |
commit | 6a3f0ab2fdc22e6e5d0bb8306a0161132f6294e4 (patch) | |
tree | 7884e4db3daf66ac7d34fe50276fe966cd9b6224 /src/plugins/wireguard/wireguard_cookie.c | |
parent | 503225c45832491b1a0374ad9db931aefc590d6f (diff) |
wireguard: eliminate some calls to main thread
Type: improvement
Roaming functionality allows the peer address to change. The main thread
was being called to update a peer's address if necessary after
processing a received packet. Check in the worker whether this is
necessary before incurring the overhead of the RPC to the main thread.
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Change-Id: I02184b92dc658e0f57dd39993a3b2f9944187b45
Diffstat (limited to 'src/plugins/wireguard/wireguard_cookie.c')
0 files changed, 0 insertions, 0 deletions