Skip to content

genetlink: remove linux/genetlink.h

Jakub Kicinski netdev wireguard 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesApplied 3/3
  2. v23 patches 2 repliesSuperseded
  3. v13 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- fix Andy's nits on patch 3
v2: https://lore.kernel.org/all/[email protected]/
- fix Andy's nits on patch 3
v1: https://lore.kernel.org/all/[email protected]

Patches in v3 All 3 applied

#Subject and filesSizeRepliesApplied
1/3netlink: create a new header for internal genetlink symbolsinclude/linux/genetlink.h net/netlink/af_netlink.c net/netlink/genetlink.c +1 more+14 -60 repliesApplied
2/3net: openvswitch: remove unnecessary linux/genetlink.h includenet/openvswitch/meter.h+0 -10 repliesApplied
3/3genetlink: remove linux/genetlink.hdrivers/net/wireguard/main.c include/linux/genetlink.h include/linux/genl_magic_struct.h +4 more+12 -200 repliesApplied

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchSven Eckelmann
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH net-next v3 0/3] genetlink: remove linux/genetlink.h

There are two genetlink headers net/genetlink.h and linux/genetlink.h This is similar to netlink.h, but for netlink.h both contain good amount of code. For genetlink.h the linux/ version is leftover from before uAPI headers were split out, it has 10 lines of code. Move those 10 lines into other appropriate headers and delete linux/genetlink.h.

I occasionally open the wrong header in the editor when coding, I guess I'm not the only one.

v3:
- fix Andy's nits on patch 3
v2: https://lore.kernel.org/all/[email protected]/
- fix Andy's nits on patch 3
v1: https://lore.kernel.org/all/[email protected]

Jakub Kicinski (3):
netlink: create a new header for internal genetlink symbols
net: openvswitch: remove unnecessary linux/genetlink.h include
genetlink: remove linux/genetlink.h

 drivers/net/wireguard/main.c      |  2 +-
 include/linux/genetlink.h         | 19 -------------------
 include/linux/genl_magic_struct.h |  2 +-
 include/net/genetlink.h           | 10 +++++++++-
 net/batman-adv/main.c             |  2 +-
 net/batman-adv/netlink.c          |  1 -
 net/netlink/af_netlink.c          |  2 +-
 net/netlink/genetlink.c           |  2 ++
 net/netlink/genetlink.h           | 11 +++++++++++
 net/openvswitch/datapath.c        |  1 -
 net/openvswitch/meter.h           |  1 -
 11 files changed, 26 insertions(+), 27 deletions(-)
 delete mode 100644 include/linux/genetlink.h
 create mode 100644 net/netlink/genetlink.h
Signature · 1 line
2.44.0