git: wg: Add comment for noise_remote_index() in handling cookie replies

Aaron LI aly at crater.dragonflybsd.org
Sun Mar 3 00:50:52 PST 2024


commit 1879acbd5c13e245b292b153435ec15dd1d770da
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Feb 28 23:57:34 2024 +0800

    wg: Add comment for noise_remote_index() in handling cookie replies
    
    noise_remote_index() will lookup the index for both remote and keypair
    entries.  Add a comment to explain why this double lookup is necessary.
    
    Credit: Jason A. Donenfeld

Summary of changes:
 sys/net/wg/if_wg.c | 7 +++++++
 1 file changed, 7 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1879acbd5c13e245b292b153435ec15dd1d770da


-- 
DragonFly BSD source repository


More information about the Commits mailing list