History

Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next

Pablo Neira Ayuso says: ==================== Netfilter/IPVS updates for net-next The following patchset contains Netfilter/IPVS updates for net-next, more specifically: * Updates for ipset: 1) Coding style fix for ipset comment extension, from Jeremy Sowden. 2) De-inline many functions in ipset, from Jeremy Sowden. 3) Move ipset function definition from header to source file. 4) Move ip_set_put_flags() to source, export it as a symbol, remove inline. 5) Move range_to_mask() to the source file where this is used. 6) Move ip_set_get_ip_port() to the source file where this is used. * IPVS selftests and netns improvements: 7) Two patches to speedup ipvs netns dismantle, from Haishuang Yan. 8) Three patches to add selftest script for ipvs, also from Haishuang Yan. * Conntrack updates and new nf_hook_slow_list() function: 9) Document ct ecache extension, from Florian Westphal. 10) Skip ct extensions from ctnetlink dump, from Florian. 11) Free ct extension immediately, from Florian. 12) Skip access to ecache extension from nf_ct_deliver_cached_events() this is not correct as reported by Syzbot. 13) Add and use nf_hook_slow_list(), from Florian. * Flowtable infrastructure updates: 14) Move priority to nf_flowtable definition. 15) Dynamic allocation of per-device hooks in flowtables. 16) Allow to include netdevice only once in flowtable definitions. 17) Rise maximum number of devices per flowtable. * Netfilter hardware offload infrastructure updates: 18) Add nft_flow_block_chain() helper function. 19) Pass callback list to nft_setup_cb_call(). 20) Add nft_flow_cls_offload_setup() helper function. 21) Remove rules for the unregistered device via netdevice event. 22) Support for multiple devices in a basechain definition at the ingress hook. 22) Add nft_chain_offload_cmd() helper function. 23) Add nft_flow_block_offload_init() helper function. 24) Rewind in case of failing to bind multiple devices to hook. 25) Typo in IPv6 tproxy module description, from Norman Rasmussen. ====================

David S. Miller committed 7 years ago

Commit 4b1f5dd2 parents 64fe8e9 671312e43 files · +1346 −730Browse files

Showing the changes to include/uapi/linux (1 of 43 files). Show all

Unified · Split

include/uapi/linux/netfilter/nf_tables.h+2−0
@@ -144,12 +144,14 @@ enum nft_list_attributes { · 143 unmodified lines
144 * @NFTA_HOOK_HOOKNUM: netfilter hook number (NLA_U32)144 * @NFTA_HOOK_HOOKNUM: netfilter hook number (NLA_U32)
145 * @NFTA_HOOK_PRIORITY: netfilter hook priority (NLA_U32)145 * @NFTA_HOOK_PRIORITY: netfilter hook priority (NLA_U32)
146 * @NFTA_HOOK_DEV: netdevice name (NLA_STRING)146 * @NFTA_HOOK_DEV: netdevice name (NLA_STRING)
147 * @NFTA_HOOK_DEVS: list of netdevices (NLA_NESTED)
147 */148 */
148enum nft_hook_attributes {149enum nft_hook_attributes {
149 NFTA_HOOK_UNSPEC,150 NFTA_HOOK_UNSPEC,
150 NFTA_HOOK_HOOKNUM,151 NFTA_HOOK_HOOKNUM,
151 NFTA_HOOK_PRIORITY,152 NFTA_HOOK_PRIORITY,
152 NFTA_HOOK_DEV,153 NFTA_HOOK_DEV,
154 NFTA_HOOK_DEVS,
153 __NFTA_HOOK_MAX155 __NFTA_HOOK_MAX
154};156};
155#define NFTA_HOOK_MAX (__NFTA_HOOK_MAX - 1)157#define NFTA_HOOK_MAX (__NFTA_HOOK_MAX - 1)