diff --git a/net/sched/act_ct.c b/net/sched/act_ct.c index 7ef074c6dd16..f1088599fafd 100644 --- a/net/sched/act_ct.c +++ b/net/sched/act_ct.c @@ -1023,7 +1023,8 @@ static int tcf_ct_act(struct sk_buff *skb, const struct tc_action *a, /* This will take care of sending queued events * even if the connection is already confirmed. */ - nf_conntrack_confirm(skb); + if (nf_conntrack_confirm(skb) != NF_ACCEPT) + goto drop; } if (!skip_add)