Skip to content

netlink: netlink_dump_start takes pointer to data

[email protected] netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2netlink: netlink_dump_start may take data pointer for callbackscrypto/crypto_user.c drivers/infiniband/core/netlink.c include/linux/netlink.h +9 more+16 -122 replies
2/2netfilter: ctnetlink: support kernel-space dump filteringsinclude/linux/netfilter/nfnetlink_conntrack.h net/netfilter/nf_conntrack_netlink.c+34 -22 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] netlink: netlink_dump_start takes pointer to data

From: Pablo Neira Ayuso <[email protected]>

Hi,

This patch modifies netlink_dump_start to take a pointer to data. All caller are modified to use the new interface. This pointer can be accessed via cb->data from the callback.

The follow-up patch for ctnetlink uses this change to pass the filter structure, which allows filtering the dump by the ct mark/mask.

Let me know if you are OK with this change, I can included it in the next netfilter update or you may want to directly apply it.

Thanks!

Pablo Neira Ayuso (2):
netlink: netlink_dump_start may take data pointer for callbacks
netfilter: ctnetlink: support kernel-space dump filterings

 crypto/crypto_user.c                          |    2 +-
 drivers/infiniband/core/netlink.c             |    2 +-
 include/linux/netfilter/nfnetlink_conntrack.h |    1 +
 include/linux/netlink.h                       |    2 +
 net/core/rtnetlink.c                          |    2 +-
 net/ipv4/inet_diag.c                          |    4 +-
 net/netfilter/ipset/ip_set_core.c             |    2 +-
 net/netfilter/nf_conntrack_netlink.c          |   37 +++++++++++++++++++++++--
 net/netfilter/nfnetlink_acct.c                |    2 +-
 net/netlink/af_netlink.c                      |    2 +
 net/netlink/genetlink.c                       |    2 +-
 net/unix/diag.c                               |    2 +-
 net/xfrm/xfrm_user.c                          |    2 +-
 13 files changed, 49 insertions(+), 13 deletions(-)
Signature · 1 line
1.7.7.3