summaryrefslogtreecommitdiffstats
path: root/include/net/netfilter/nf_conntrack_core.h
diff options
context:
space:
mode:
authorFlorian Westphal2017-04-14 20:31:09 +0200
committerPablo Neira Ayuso2017-04-15 11:51:33 +0200
commitab8bc7ed864b9c4f1fcb00a22bbe4e0f66ce8003 (patch)
tree552aa1ba20c173b0659e391b92554ce7b1edbe4e /include/net/netfilter/nf_conntrack_core.h
parentnetfilter: kill the fake untracked conntrack objects (diff)
downloadkernel-qcow2-linux-ab8bc7ed864b9c4f1fcb00a22bbe4e0f66ce8003.tar.gz
kernel-qcow2-linux-ab8bc7ed864b9c4f1fcb00a22bbe4e0f66ce8003.tar.xz
kernel-qcow2-linux-ab8bc7ed864b9c4f1fcb00a22bbe4e0f66ce8003.zip
netfilter: remove nf_ct_is_untracked
This function is now obsolete and always returns false. This change has no effect on generated code. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter/nf_conntrack_core.h')
-rw-r--r--include/net/netfilter/nf_conntrack_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_conntrack_core.h b/include/net/netfilter/nf_conntrack_core.h
index 84ec7ca5f195..81d7f8a30945 100644
--- a/include/net/netfilter/nf_conntrack_core.h
+++ b/include/net/netfilter/nf_conntrack_core.h
@@ -65,7 +65,7 @@ static inline int nf_conntrack_confirm(struct sk_buff *skb)
struct nf_conn *ct = (struct nf_conn *)skb_nfct(skb);
int ret = NF_ACCEPT;
- if (ct && !nf_ct_is_untracked(ct)) {
+ if (ct) {
if (!nf_ct_is_confirmed(ct))
ret = __nf_conntrack_confirm(skb);
if (likely(ret == NF_ACCEPT))