netfilter: nf_tables: introduce nft_setelem_parse_flags() helper
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 12 Apr 2016 21:50:34 +0000 (23:50 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 25 Apr 2016 12:52:12 +0000 (14:52 +0200)
commit0e9091d6862f60499fa3faec7c2060c1929d0763
treebd722d78aa6e35dbb533fac69b13d337085331a9
parent141658fb02c248e6243d619cb7d48a76158a66ac
netfilter: nf_tables: introduce nft_setelem_parse_flags() helper

This function parses the set element flags, thus, we can reuse the same
handling when deleting elements.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c