mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-05 22:12:16 +00:00
tcp: convert tcp_md5_needed to static_branch API
We prefer static_branch_unlikely() over static_key_false() these days. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a43e052bea
commit
921f9a0f2e
4 changed files with 6 additions and 6 deletions
|
@ -973,7 +973,7 @@ static void tcp_v4_reqsk_destructor(struct request_sock *req)
|
|||
* We need to maintain these in the sk structure.
|
||||
*/
|
||||
|
||||
struct static_key tcp_md5_needed __read_mostly;
|
||||
DEFINE_STATIC_KEY_FALSE(tcp_md5_needed);
|
||||
EXPORT_SYMBOL(tcp_md5_needed);
|
||||
|
||||
/* Find the Key structure for an address. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue