commit | 88ab31081b8c8d4d7698711b80fbfd3f52d27fd9 | [log] [tgz] |
---|---|---|
author | Davidlohr Bueso <dave@stgolabs.net> | Tue May 08 09:07:03 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu May 10 15:13:34 2018 -0400 |
tree | 79220b7c16db91c81ccc73f4971bde0ca8a462e1 | |
parent | 02786475c74c7d0721b0142fac74108112cb456c [diff] |
net/udp: Update udp_encap_needed static key to modern api No changes in refcount semantics -- key init is false; replace static_key_enable with static_branch_enable static_key_slow_inc|dec with static_branch_inc|dec static_key_false with static_branch_unlikely Added a '_key' suffix to udp and udpv6 encap_needed, for better self documentation. Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>