aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-11-24 14:25:07 -0600
committerJakub Kicinski <kuba@kernel.org>2021-11-25 19:37:34 -0800
commite6aab6b9b60050d4f635011213d488ee16e8234c (patch)
tree020ebcaefd996db198d8021c8af8baee411f5668 /net/unix/af_unix.c
parentnet: ipa: zero unused portions of filter table memory (diff)
downloadwireguard-linux-e6aab6b9b60050d4f635011213d488ee16e8234c.tar.xz
wireguard-linux-e6aab6b9b60050d4f635011213d488ee16e8234c.zip
net: ipa: rework how HOL_BLOCK handling is specified
The head-of-line block (HOLB) drop timer is only meaningful when dropping packets due to blocking is enabled. Given that, redefine the interface so the timer is specified when enabling HOLB drop, and use a different function when disabling. To enable and disable HOLB drop, these functions will now be used: ipa_endpoint_init_hol_block_enable(endpoint, milliseconds) ipa_endpoint_init_hol_block_disable(endpoint) The existing ipa_endpoint_init_hol_block_enable() becomes a helper function, renamed ipa_endpoint_init_hol_block_en(), and used with ipa_endpoint_init_hol_block_timer() to enable HOLB block on an endpoint. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions