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
219219 * @NFTA_RULE_POSITION: numeric handle of the previous rule (NLA_U64)
220220 * @NFTA_RULE_USERDATA: user data (NLA_BINARY, NFT_USERDATA_MAXLEN)
221221 * @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)
222223 */
223224 enum nft_rule_attributes {
224225 NFTA_RULE_UNSPEC,
@@ -231,6 +232,7 @@ enum nft_rule_attributes { · 6 unmodified lines
231232 NFTA_RULE_USERDATA,
232233 NFTA_RULE_PAD,
233234 NFTA_RULE_ID,
235+ NFTA_RULE_POSITION_ID,
234236 __NFTA_RULE_MAX
235237 };
236238 #define NFTA_RULE_MAX (__NFTA_RULE_MAX - 1)
@@ -789,6 +791,8 @@ enum nft_exthdr_attributes { · 552 unmodified lines
789791 * @NFT_META_CGROUP: socket control group (skb->sk->sk_classid)
790792 * @NFT_META_PRANDOM: a 32bit pseudo-random number
791793 * @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)
792796 */
793797 enum nft_meta_keys {
794798 NFT_META_LEN,
@@ -817,6 +821,8 @@ enum nft_meta_keys { · 22 unmodified lines
817821 NFT_META_CGROUP,
818822 NFT_META_PRANDOM,
819823 NFT_META_SECPATH,
824+ NFT_META_IIFKIND,
825+ NFT_META_OIFKIND,
820826 };
821827
822828 /**
@@ -871,8 +877,8 @@ enum nft_hash_attributes { · 48 unmodified lines
871877 NFTA_HASH_SEED,
872878 NFTA_HASH_OFFSET,
873879 NFTA_HASH_TYPE,
874− NFTA_HASH_SET_NAME,
875− NFTA_HASH_SET_ID,
880+ NFTA_HASH_SET_NAME, /* deprecated */
881+ NFTA_HASH_SET_ID, /* deprecated */
876882 __NFTA_HASH_MAX,
877883 };
878884 #define NFTA_HASH_MAX (__NFTA_HASH_MAX - 1)