Skip to content

net: Update static keys to modern api

Davidlohr Bueso lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6net/ipv4: Update ip_tunnel_metadata_cnt static key to modern apiinclude/net/ip_tunnels.h net/ipv4/ip_tunnel_core.c+5 -50 replies
2/6net/sock: Update memalloc_socks static key to modern apiinclude/net/sock.h net/core/sock.c+6 -60 replies
3/6net: Update [e/in]gress_needed static key to modern apinet/core/dev.c+8 -80 replies
4/6net: Update netstamp_needed static key to modern apinet/core/dev.c+11 -110 replies
5/6net: Update generic_xdp_needed static key to modern apinet/core/dev.c+5 -50 replies
6/6net/udp: Update udp_encap_needed static key to modern apinet/ipv4/udp.c net/ipv6/udp.c+8 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH -next 0/6] net: Update static keys to modern api

Hi,

The following patches update pretty much all core net static key users to the modern api. Changes are mostly trivial conversion without affecting any semantics. The motivation is a resend of patches 1 and 2 from a while[1] back, and the rest are added patches, specific for -net.

Applies against today's linux-next. Compile tested only.

[1] lkml.kernel.org/r/[email protected]

Thanks!

Davidlohr Bueso (6):
net/ipv4: Update ip_tunnel_metadata_cnt static key to modern api net/sock: Update memalloc_socks static key to modern api
net: Update [e/in]gress_needed static key to modern api
net: Update netstamp_needed static key to modern api
net: Update generic_xdp_needed static key to modern api net/udp: Update udp_encap_needed static key to modern api

 include/net/ip_tunnels.h  |  4 ++--
 include/net/sock.h        |  4 ++--
 net/core/dev.c            | 48 +++++++++++++++++++++++------------------------
 net/core/sock.c           |  8 ++++----
 net/ipv4/ip_tunnel_core.c |  6 +++---
 net/ipv4/udp.c            |  8 ++++----
 net/ipv6/udp.c            |  8 ++++----
 7 files changed, 43 insertions(+), 43 deletions(-)
Signature · 1 line
2.13.6