diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-07-16 17:35:18 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-07-22 12:08:54 +0200 |
commit | 5b96af7713546fca812682fed13cfad26d69fed7 (patch) | |
tree | 78d218088b6a2b8cf2db2f0d37d7f6d594f79e7e /net/llc | |
parent | 85f5b3086a04c459f9147859fcbf7bdc7578c378 (diff) | |
download | op-kernel-dev-5b96af7713546fca812682fed13cfad26d69fed7.zip op-kernel-dev-5b96af7713546fca812682fed13cfad26d69fed7.tar.gz |
netfilter: nf_tables: simplify set dump through netlink
This patch uses the cb->data pointer that allows us to store the
context when dumping the set list. Thus, we don't need to parse the
original netlink message containing the dump request for each recvmsg()
call when dumping the set list. The different function flavours
depending on the dump criteria has been also merged into one single
generic function. This saves us ~100 lines of code.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions