summaryrefslogtreecommitdiff
path: root/kernel/user_namespace.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-02-24 14:30:16 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-02-26 19:10:44 (GMT)
commit7175c883071515f0d4c1cece2646203b8a5a7415 (patch)
treef9dfa5be72432611f63f659fbe07ef4fbd6052bd /kernel/user_namespace.c
parent80d326fab534a5380e8f6e509a0b9076655a9670 (diff)
downloadlinux-fsl-qoriq-7175c883071515f0d4c1cece2646203b8a5a7415.tar.xz
netlink: allow to pass data pointer to netlink_dump_start() callback
This patch allows you to pass a data pointer that can be accessed from the dump callback. Netfilter is going to use this patch to provide filtered dumps to user-space. This is specifically interesting in ctnetlink that may handle lots of conntrack entries. We can save precious cycles by skipping the conversion to TLV format of conntrack entries that are not interesting for user-space. More specifically, ctnetlink will include one operation to allow to filter the dumping of conntrack entries by ctmark values. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/user_namespace.c')
0 files changed, 0 insertions, 0 deletions