Re: [PATCH 2/3] netlink: allow to pass data pointer to netlink_dump_start() callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: pablo@xxxxxxxxxxxxx
Date: Sat, 25 Feb 2012 01:30:16 +0100

> From: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
> 
> 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@xxxxxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

Powered by Linux