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 your net-next tree: 1) Introduce a hashtable to speed up object lookups, from Florian Westphal. 2) Make direct calls to built-in extension, also from Florian. 3) Call helper before confirming the conntrack as it used to be originally, from Florian. 4) Call request_module() to autoload br_netfilter when physdev is used to relax the dependency, also from Florian. 5) Allow to insert rules at a given position ID that is internal to the batch, from Phil Sutter. 6) Several patches to replace conntrack indirections by direct calls, and to reduce modularization, from Florian. This also includes several follow up patches to deal with minor fallout from this rework. 7) Use RCU from conntrack gre helper, from Florian. 8) GRE conntrack module becomes built-in into nf_conntrack, from Florian. 9) Replace nf_ct_invert_tuplepr() by calls to nf_ct_invert_tuple(), from Florian. 10) Unify sysctl handling at the core of nf_conntrack, from Florian. 11) Provide modparam to register conntrack hooks. 12) Allow to match on the interface kind string, from wenxu. 13) Remove several exported symbols, not required anymore now after a bit of de-modulatization work has been done, from Florian. 14) Remove built-in map support in the hash extension, this can be done with the existing userspace infrastructure, from laura. 15) Remove indirection to calculate checksums in IPVS, from Matteo Croce. 16) Use call wrappers for indirection in IPVS, also from Matteo. 17) Remove superfluous __percpu parameter in nft_counter, patch from Luc Van Oostenryck. ====================

David S. Miller committed 7 years ago

Commit 343917b2 parents bb7c778 83f529261 files · +1178 −1697Browse files

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

Unified · Split

include/uapi/linux/netfilter/nf_tables.h+8−2
@@ -219,6 +219,7 @@ enum nft_chain_attributes { · 218 unmodified lines
219 * @NFTA_RULE_POSITION: numeric handle of the previous rule (NLA_U64)219 * @NFTA_RULE_POSITION: numeric handle of the previous rule (NLA_U64)
220 * @NFTA_RULE_USERDATA: user data (NLA_BINARY, NFT_USERDATA_MAXLEN)220 * @NFTA_RULE_USERDATA: user data (NLA_BINARY, NFT_USERDATA_MAXLEN)
221 * @NFTA_RULE_ID: uniquely identifies a rule in a transaction (NLA_U32)221 * @NFTA_RULE_ID: uniquely identifies a rule in a transaction (NLA_U32)
222 * @NFTA_RULE_POSITION_ID: transaction unique identifier of the previous rule (NLA_U32)
222 */223 */
223enum nft_rule_attributes {224enum nft_rule_attributes {
224 NFTA_RULE_UNSPEC,225 NFTA_RULE_UNSPEC,
@@ -231,6 +232,7 @@ enum nft_rule_attributes { · 6 unmodified lines
231 NFTA_RULE_USERDATA,232 NFTA_RULE_USERDATA,
232 NFTA_RULE_PAD,233 NFTA_RULE_PAD,
233 NFTA_RULE_ID,234 NFTA_RULE_ID,
235 NFTA_RULE_POSITION_ID,
234 __NFTA_RULE_MAX236 __NFTA_RULE_MAX
235};237};
236#define NFTA_RULE_MAX (__NFTA_RULE_MAX - 1)238#define NFTA_RULE_MAX (__NFTA_RULE_MAX - 1)
@@ -789,6 +791,8 @@ enum nft_exthdr_attributes { · 552 unmodified lines
789 * @NFT_META_CGROUP: socket control group (skb->sk->sk_classid)791 * @NFT_META_CGROUP: socket control group (skb->sk->sk_classid)
790 * @NFT_META_PRANDOM: a 32bit pseudo-random number792 * @NFT_META_PRANDOM: a 32bit pseudo-random number
791 * @NFT_META_SECPATH: boolean, secpath_exists (!!skb->sp)793 * @NFT_META_SECPATH: boolean, secpath_exists (!!skb->sp)
794 * @NFT_META_IIFKIND: packet input interface kind name (dev->rtnl_link_ops->kind)
795 * @NFT_META_OIFKIND: packet output interface kind name (dev->rtnl_link_ops->kind)
792 */796 */
793enum nft_meta_keys {797enum nft_meta_keys {
794 NFT_META_LEN,798 NFT_META_LEN,
@@ -817,6 +821,8 @@ enum nft_meta_keys { · 22 unmodified lines
817 NFT_META_CGROUP,821 NFT_META_CGROUP,
818 NFT_META_PRANDOM,822 NFT_META_PRANDOM,
819 NFT_META_SECPATH,823 NFT_META_SECPATH,
824 NFT_META_IIFKIND,
825 NFT_META_OIFKIND,
820};826};
821 827
822/**828/**
@@ -871,8 +877,8 @@ enum nft_hash_attributes { · 48 unmodified lines
871 NFTA_HASH_SEED,877 NFTA_HASH_SEED,
872 NFTA_HASH_OFFSET,878 NFTA_HASH_OFFSET,
873 NFTA_HASH_TYPE,879 NFTA_HASH_TYPE,
874 NFTA_HASH_SET_NAME,880 NFTA_HASH_SET_NAME, /* deprecated */
875 NFTA_HASH_SET_ID,881 NFTA_HASH_SET_ID, /* deprecated */
876 __NFTA_HASH_MAX,882 __NFTA_HASH_MAX,
877};883};
878#define NFTA_HASH_MAX (__NFTA_HASH_MAX - 1)884#define NFTA_HASH_MAX (__NFTA_HASH_MAX - 1)