mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
tcp: use static_branch_deferred_inc for clean_acked_data_enabled
Deferred static key clean_acked_data_enabled uses the deferred variants of dec and flush. Do the same for inc. Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f01c373fbe
commit
7b58139f98
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ void clean_acked_data_enable(struct inet_connection_sock *icsk,
|
|||
void (*cad)(struct sock *sk, u32 ack_seq))
|
||||
{
|
||||
icsk->icsk_clean_acked = cad;
|
||||
static_branch_inc(&clean_acked_data_enabled.key);
|
||||
static_branch_deferred_inc(&clean_acked_data_enabled);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(clean_acked_data_enable);
|
||||
|
||||
|
|
Loading…
Reference in a new issue