summaryrefslogtreecommitdiffstats
path: root/net/llc
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2014-07-16 17:35:18 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-07-22 12:08:54 +0200
commit5b96af7713546fca812682fed13cfad26d69fed7 (patch)
tree78d218088b6a2b8cf2db2f0d37d7f6d594f79e7e /net/llc
parent85f5b3086a04c459f9147859fcbf7bdc7578c378 (diff)
downloadop-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
OpenPOWER on IntegriCloud