From e918757fd9f23aeb15905b0cd188c52ab1017793 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Wed, 12 Sep 2018 09:19:29 +0930 Subject: linux-aspeed: Disable CONFIG_BPF_STREAM_PARSER This is a feature used to attach BPF programs to network stockets. It is used by systemd to restrict the IP addresses that processes can access at a per-cgroup level. The upstream commit message calls this 'per-unit IP access lists and accounting'. It requires CONFIG_CGROUP_BPF and CONFIG_BPF_STREAM_PARSER. We did not have CONFIG_CGROUP_BPF turned on, which caused the noisy messages. Until OpenBMC adds configuration to take advantage of this feature, disable CONFIG_BPF_STREAM_PARSER which allows systemd to correctly detect that it cannot use BPF filters. (From meta-aspeed rev: 53e41a55f5b3890fcec07c900a1894d57d6d499c) Change-Id: I16a3c07025b7e954afa2dfdc7982fa70119c60dd Signed-off-by: Joel Stanley Signed-off-by: Brad Bishop --- meta-aspeed/recipes-kernel/linux/ast2400/defconfig | 1 - meta-aspeed/recipes-kernel/linux/ast2500/defconfig | 1 - 2 files changed, 2 deletions(-) (limited to 'meta-aspeed') diff --git a/meta-aspeed/recipes-kernel/linux/ast2400/defconfig b/meta-aspeed/recipes-kernel/linux/ast2400/defconfig index bc85ca85f..faacdc670 100644 --- a/meta-aspeed/recipes-kernel/linux/ast2400/defconfig +++ b/meta-aspeed/recipes-kernel/linux/ast2400/defconfig @@ -60,7 +60,6 @@ CONFIG_NETFILTER=y # CONFIG_NETFILTER_ADVANCED is not set CONFIG_VLAN_8021Q=y CONFIG_NET_NCSI=y -CONFIG_BPF_STREAM_PARSER=y # CONFIG_WIRELESS is not set CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_DEVTMPFS=y diff --git a/meta-aspeed/recipes-kernel/linux/ast2500/defconfig b/meta-aspeed/recipes-kernel/linux/ast2500/defconfig index b477200d1..823f76cfe 100755 --- a/meta-aspeed/recipes-kernel/linux/ast2500/defconfig +++ b/meta-aspeed/recipes-kernel/linux/ast2500/defconfig @@ -63,7 +63,6 @@ CONFIG_NETFILTER=y # CONFIG_NETFILTER_ADVANCED is not set CONFIG_VLAN_8021Q=y CONFIG_NET_NCSI=y -CONFIG_BPF_STREAM_PARSER=y # CONFIG_WIRELESS is not set CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_DEVTMPFS=y -- cgit v1.2.3