wireguard: receive: reset last_under_load to zero
This is a small optimization that prevents more expensive comparisons from happening when they are no longer necessary, by clearing the last_under_load variable whenever we wind up in a state where we were under load but we no longer are. Signed-off-by: NJason A. Donenfeld <Jason@zx2c4.com> Suggested-by: NMatt Dunwoodie <ncon@noconroy.net> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录