Skip to content

netlink: implement socket diag for netlink sockets (v2)

Andrey Vagin lkml netdev 1 version Applied

Status from this message: Applied to 'net' and queued up for -stable.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3net: fix *_DIAG_MAX constantsinclude/uapi/linux/packet_diag.h include/uapi/linux/unix_diag.h+6 -21 reply
2/3net: prepare netlink code for netlink diagnet/netlink/af_netlink.c net/netlink/af_netlink.h+67 -541 reply
3/3netlink: Diag core and basic socket info dumping (v2)include/uapi/linux/netlink_diag.h net/Kconfig net/netlink/Kconfig +2 more+244 -01 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchPavel Emelyanov
1/3
2/3A-b
3/3A-b

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

Read the v1 thread

Cover letter [PATCH 0/3] netlink: implement socket diag for netlink sockets (v2)

v2: fix *_DIAG_MAX constants

Cc "David S. Miller" <[email protected]>
Cc Eric Dumazet <[email protected]>
Cc Pavel Emelyanov <[email protected]>
Cc Pablo Neira Ayuso <[email protected]>
Cc "Eric W. Biederman" <[email protected]>
Cc Gao feng <[email protected]>
Cc Thomas Graf <[email protected]>

Andrey Vagin (3):
net: fix *_DIAG_MAX constants
net: prepare netlink code for netlink diag
netlink: Diag core and basic socket info dumping (v2)

 include/uapi/linux/netlink_diag.h |  42 +++++++++
 include/uapi/linux/packet_diag.h  |   4 +-
 include/uapi/linux/unix_diag.h    |   4 +-
 net/Kconfig                       |   1 +
 net/netlink/Kconfig               |  10 ++
 net/netlink/Makefile              |   3 +
 net/netlink/af_netlink.c          |  59 +-----------
 net/netlink/af_netlink.h          |  62 +++++++++++++
 net/netlink/diag.c                | 188 ++++++++++++++++++++++++++++++++++++++
 9 files changed, 317 insertions(+), 56 deletions(-)
 create mode 100644 include/uapi/linux/netlink_diag.h
 create mode 100644 net/netlink/Kconfig
 create mode 100644 net/netlink/af_netlink.h
 create mode 100644 net/netlink/diag.c
Signature · 1 line
1.8.1.4