Home
last modified time | relevance | path

Searched refs:under_load (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireguard/
H A Dreceive.c102 bool under_load; in wg_receive_handshake_packet() local
112 under_load = atomic_read(&wg->handshake_queue_len) >= in wg_receive_handshake_packet()
114 if (under_load) { in wg_receive_handshake_packet()
117 under_load = !wg_birthdate_has_expired(last_under_load, 1); in wg_receive_handshake_packet()
118 if (!under_load) in wg_receive_handshake_packet()
122 under_load); in wg_receive_handshake_packet()
123 if ((under_load && mac_state == VALID_MAC_WITH_COOKIE) || in wg_receive_handshake_packet()
124 (!under_load && mac_state == VALID_MAC_BUT_NO_COOKIE)) { in wg_receive_handshake_packet()
126 } else if (under_load && mac_state == VALID_MAC_BUT_NO_COOKIE) { in wg_receive_handshake_packet()