openwrt/target/linux/generic/hack-4.14
Brett Mastbergen 69d6da1de6 kernel: generic: Fix nftables inet table breakage
Commit b7265c59ab ("kernel: backport a series of netfilter cleanup
patches to 4.14") added patch 302-netfilter-nf_tables_inet-don-t-use-
multihook-infrast.patch.  That patch switches the netfilter core in the
kernel to use the new native NFPROTO_INET support.  Unfortunately, the
new native NFPROTO_INET support does not exist in 4.14 and was not
backported along with this patchset.  As such, nftables inet tables never
see any traffic.

As an example the following nft counter rule should increment for every
packet coming into the box, but never will:

nft add table inet foo
nft add chain inet foo bar { type filter hook input priority 0\; }
nft add rule inet foo bar counter

This commit pulls in the required backport patches to add the new
native NFPROTO_INET support, and thus restore nftables inet table
functionality.

Tested on Turris Omnia (mvebu)

Fixes: b7265c59ab ("kernel: backport a series of netfilter cleanup ...")
Signed-off-by: Brett Mastbergen <bmastbergen@untangle.com>
(backported from f57806b56e)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-18 11:28:13 +01:00
..
202-reduce_module_size.patch kernel: bump 4.14 to 4.14.48 for 18.06 2018-06-07 09:03:24 +02:00
204-module_strip.patch kernel: avoid stripping retpoline flag with CONFIG_MODULE_STRIPPED 2018-02-21 20:55:52 +01:00
207-disable-modorder.patch kernel: bump 4.14 to 4.14.87 2018-12-13 13:29:03 +01:00
210-darwin_scripts_include.patch
211-host_tools_portability.patch kernel: bump 4.14 to 4.14.60 for 18.06 2018-08-06 07:30:41 +02:00
212-byteshift_portability.patch
214-spidev_h_portability.patch
220-gc_sections.patch kernel: bump 4.14 to 4.14.86 2018-12-13 13:28:54 +01:00
221-module_exports.patch kernel: bump 4.14 to 4.14.86 2018-12-13 13:28:54 +01:00
230-openwrt_lzma_options.patch
250-netfilter_depends.patch kernel: generic: Fix nftables inet table breakage 2018-12-18 11:28:13 +01:00
251-sound_kconfig.patch kernel: generic: Fix nftables inet table breakage 2018-12-18 11:28:13 +01:00
259-regmap_dynamic.patch
260-crypto_test_dependencies.patch
280-rfkill-stubs.patch
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch kernel: unroll MIPS r4k cache blast function 2018-03-10 11:58:19 +01:00
301-mips_image_cmdline_hack.patch kernel: bump 4.14 to 4.14.79 2018-11-05 16:00:47 +01:00
321-powerpc_crtsavres_prereq.patch
420-allow-ubi-mlc-support.patch kernel: bump 4.14 to 4.14.86 2018-12-13 13:28:54 +01:00
531-debloat_lzma.patch
640-bridge-only-accept-EAP-locally.patch kernel: replace bridge port isolate hack with upstream patch backport on 4.14 2018-12-18 09:45:59 +01:00
650-netfilter-add-xt_OFFLOAD-target.patch kernel: generic: Fix nftables inet table breakage 2018-12-18 11:28:13 +01:00
651-wireless_mesh_header.patch
660-fq_codel_defaults.patch kernel: merge a pending fix for HFSC warnings/slowdowns (fixes FS#1136) 2018-03-11 08:58:53 +01:00
661-use_fq_codel_by_default.patch kernel: bump 4.14 to 4.14.81 2018-11-14 16:27:43 +01:00
662-remove_pfifo_fast.patch
700-swconfig_switch_drivers.patch
702-phy_add_aneg_done_function.patch kernel: update kernel 4.14 to 4.14.32 2018-04-03 23:26:45 +02:00
721-phy_packets.patch kernel: bump 4.14 to 4.14.86 2018-12-13 13:28:54 +01:00
773-bgmac-add-srab-switch.patch kernel: bump 4.14 to 4.14.48 for 18.06 2018-06-07 09:03:24 +02:00
835-misc-owl_loader.patch
901-debloat_sock_diag.patch kernel: bump 4.14 to 4.14.48 for 18.06 2018-06-07 09:03:24 +02:00
902-debloat_proc.patch kernel: bump 4.14 to 4.14.87 2018-12-13 13:29:03 +01:00
904-debloat_dma_buf.patch kernel: bump 4.14 to 4.14.54 for 18.06 2018-07-12 13:54:24 +02:00
910-kobject_uevent.patch
911-kobject_add_broadcast_uevent.patch
921-always-create-console-node-in-initramfs.patch
930-crashlog.patch
940-cleanup-offload-hooks-on-netdev-unregister.patch kernel: avoid flow offload for connections with xfrm on the dst entry (should fix IPSec) 2018-12-18 09:43:59 +01:00