|
@@ -90,7 +90,13 @@ static int generic_packet(struct nf_conn *ct,
|
|
static bool generic_new(struct nf_conn *ct, const struct sk_buff *skb,
|
|
static bool generic_new(struct nf_conn *ct, const struct sk_buff *skb,
|
|
unsigned int dataoff, unsigned int *timeouts)
|
|
unsigned int dataoff, unsigned int *timeouts)
|
|
{
|
|
{
|
|
- return nf_generic_should_process(nf_ct_protonum(ct));
|
|
|
|
|
|
+ bool ret;
|
|
|
|
+
|
|
|
|
+ ret = nf_generic_should_process(nf_ct_protonum(ct));
|
|
|
|
+ if (!ret)
|
|
|
|
+ pr_warn_once("conntrack: generic helper won't handle protocol %d. Please consider loading the specific helper module.\n",
|
|
|
|
+ nf_ct_protonum(ct));
|
|
|
|
+ return ret;
|
|
}
|
|
}
|
|
|
|
|
|
#if IS_ENABLED(CONFIG_NF_CT_NETLINK_TIMEOUT)
|
|
#if IS_ENABLED(CONFIG_NF_CT_NETLINK_TIMEOUT)
|