openvswitch: conditionally depends on nf_conncount.ko
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 1 Jul 2019 10:37:36 +0000 (10:37 +0000)
committerYousong Zhou <yszhou4tech@gmail.com>
Mon, 1 Jul 2019 13:45:38 +0000 (13:45 +0000)
This is required for conntrack zone limit support.  Linux upstream
commit is 11efd5cb ("openvswitch: Support conntrack zone limit")

Ref: https://github.com/openwrt/packages/issues/9274#issuecomment-507181166
Reported-by: Lech Perczak <lech.perczak@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
net/openvswitch/Makefile

index 7e7b25cfb971fca16a53d04700a409e40e2d79ef..709e8190a3a9e4b7f3524e914ad5a4e23c847c2c 100644 (file)
@@ -16,7 +16,7 @@ include $(INCLUDE_DIR)/kernel.mk
 #
 PKG_NAME:=openvswitch
 PKG_VERSION:=2.11.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://www.openvswitch.org/releases/
 PKG_HASH:=c1296ae44a7b176150915e33bc497cc0a7a02caeba84ea43ce9b6a2509d9b5dc
@@ -75,6 +75,7 @@ ovs_kmod_openvswitch_depends:=\
          +kmod-nf-conntrack \
          +IPV6:kmod-nf-conntrack6 \
          +(!LINUX_4_9&&!LINUX_4.14):kmod-nsh \
+         +(!LINUX_4_9&&!LINUX_4.14):kmod-ipt-conntrack-extra \
 
 ovs_kmod_openvswitch_files:=$(ovs_kmod_upstream_dir)/openvswitch.ko
 $(eval $(call OvsKmodPackageTemplate,openvswitch))