projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f01c373
)
tcp: use static_branch_deferred_inc for clean_acked_data_enabled
author
Willem de Bruijn
<willemb@google.com>
Thu, 13 Jun 2019 15:08:16 +0000
(11:08 -0400)
committer
David S. Miller
<davem@davemloft.net>
Sat, 15 Jun 2019 02:31:48 +0000
(19:31 -0700)
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>
net/ipv4/tcp_input.c
patch
|
blob
|
history
diff --git
a/net/ipv4/tcp_input.c
b/net/ipv4/tcp_input.c
index 08a477e74cf3267b725294c66b46fdad12bd2b72..9269bbfc05f90841cedf57dc4fcd5eea20d8bb44 100644
(file)
--- a/
net/ipv4/tcp_input.c
+++ b/
net/ipv4/tcp_input.c
@@
-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);