net/ipv4: Update ip_tunnel_metadata_cnt static key to modern api
authorDavidlohr Bueso <dave@stgolabs.net>
Tue, 8 May 2018 16:06:58 +0000 (09:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 19:13:33 +0000 (15:13 -0400)
commit5263a98f162f7a46e1292632c87f1e3444eb8fbf
tree12de564021d5493f2034d275e60db019fe2e32da
parent5bafeb6e7e878ce41c834806239f8c629a59d40a
net/ipv4: Update ip_tunnel_metadata_cnt static key to modern api

No changes in refcount semantics -- key init is false; replace

static_key_slow_inc|dec   with   static_branch_inc|dec
static_key_false          with   static_branch_unlikely

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_tunnels.h
net/ipv4/ip_tunnel_core.c