Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3084 - [netfilter] flow table disabled due to unset and missing kconf #7930

Closed
openwrt-bot opened this issue May 9, 2020 · 3 comments
Closed
Labels

Comments

@openwrt-bot
Copy link

n8v8R:

With https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/generic/config-5.4;h=cdee4c973b2d6a642dadff38a95ec45b309c2dc2;hb=refs/heads/master#l3657

CONFIG_NF_FLOW_TABLE is not set

there is no support for flow tables.

Also from upstream source https://github.com/torvalds/linux/blob/v5.4/net/netfilter/Kconfig#L696 it appears that

NF_FLOW_TABLE_INET

is missing downstream.

@openwrt-bot
Copy link
Author

champtar:

flow offload is built as modules and is in kmod-nf-flow package or am I missing something ?

@openwrt-bot
Copy link
Author

n8v8R:

Something that is target specific then? The generic kconf is unset however (and therefore could not build as module) and the other kconf is absent.

Oddly https://github.com/openwrt/openwrt/blob/master/package/kernel/linux/modules/netfilter.mk#L154 has

CONFIG_NF_FLOW_TABLE_HW

which though is not a valid kconf in upstream's 5.4 source code.

@openwrt-bot
Copy link
Author

n8v8R:

Tested with

{"kernel":"5.4.45","hostname":"OpenWrt","system":"ARMv7 Processor rev 1 (v7l)","model":"Turris Omnia","board_name":"cznic,turris-omnia","release":{"distribution":"OpenWrt","version":"SNAPSHOT","revision":"r13552-cd09f26660","target":"mvebu/cortexa9","description":"OpenWrt SNAPSHOT r13552-cd09f26660"}}


xzgrep NF_FLOW_TABLE /proc/config.gz CONFIG_NF_FLOW_TABLE_INET=m CONFIG_NF_FLOW_TABLE=m CONFIG_NF_FLOW_TABLE_HW=m CONFIG_NF_FLOW_TABLE_IPV4=m CONFIG_NF_FLOW_TABLE_IPV6=m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant