소스 검색

act_connmark: Add missing dependency on NF_CONNTRACK_MARK

Depending on NETFILTER is not sufficient to ensure the presence of the
'mark' field in nf_conn, also needs to depend on NF_CONNTRACK_MARK.

Fixes: 22a5dc ("net: sched: Introduce connmark action")
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Thomas Graf 10 년 전
부모
커밋
d7924450e1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      net/sched/Kconfig

+ 1 - 0
net/sched/Kconfig

@@ -713,6 +713,7 @@ config NET_ACT_BPF
 config NET_ACT_CONNMARK
 config NET_ACT_CONNMARK
         tristate "Netfilter Connection Mark Retriever"
         tristate "Netfilter Connection Mark Retriever"
         depends on NET_CLS_ACT && NETFILTER && IP_NF_IPTABLES
         depends on NET_CLS_ACT && NETFILTER && IP_NF_IPTABLES
+        depends on NF_CONNTRACK_MARK
         ---help---
         ---help---
 	  Say Y here to allow retrieving of conn mark
 	  Say Y here to allow retrieving of conn mark