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 you net-next tree: 1) Missing NFTA_RULE_POSITION_ID netlink attribute validation, from Phil Sutter. 2) Restrict matching on tunnel metadata to rx/tx path, from wenxu. 3) Avoid indirect calls for IPV6=y, from Florian Westphal. 4) Add two indirections to prepare merger of IPV4 and IPV6 nat modules, from Florian Westphal. 5) Broken indentation in ctnetlink, from Colin Ian King. 6) Patches to use struct_size() from netfilter and IPVS, from Gustavo A. R. Silva. 7) Display kernel splat only once in case of racing to confirm conntrack from bridge plus nfqueue setups, from Chieh-Min Wang. 8) Skip checksum validation for layer 4 protocols that don't need it, patch from Alin Nastac. 9) Sparse warning due to symbol that should be static in CLUSTERIP, from Wei Yongjun. 10) Add new toggle to disable SDP payload translation when media endpoint is reachable though the same interface as the signalling peer, from Alin Nastac. ====================

David S. Miller committed 7 years ago

Commit 8bbed402 parents e511f17 a3419ce22 files · +244 −63Browse files

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

Unified · Split

include/uapi/linux/netfilter/nf_tables.h+9−0
@@ -1727,10 +1727,19 @@ enum nft_tunnel_keys { · 1726 unmodified lines
17271727 };
17281728 #define NFT_TUNNEL_MAX (__NFT_TUNNEL_MAX - 1)
17291729
1730+enum nft_tunnel_mode {
1731+ NFT_TUNNEL_MODE_NONE,
1732+ NFT_TUNNEL_MODE_RX,
1733+ NFT_TUNNEL_MODE_TX,
1734+ __NFT_TUNNEL_MODE_MAX
1735+};
1736+#define NFT_TUNNEL_MODE_MAX (__NFT_TUNNEL_MODE_MAX - 1)
1737+
17301738 enum nft_tunnel_attributes {
17311739 NFTA_TUNNEL_UNSPEC,
17321740 NFTA_TUNNEL_KEY,
17331741 NFTA_TUNNEL_DREG,
1742+ NFTA_TUNNEL_MODE,
17341743 __NFTA_TUNNEL_MAX
17351744 };
17361745 #define NFTA_TUNNEL_MAX (__NFTA_TUNNEL_MAX - 1)