summaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_ipvs.c
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 /net/netfilter/xt_ipvs.c
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 'net/netfilter/xt_ipvs.c')
-rw-r--r--net/netfilter/xt_ipvs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_ipvs.c b/net/netfilter/xt_ipvs.c
index 0fdc89064488..42540d26c2b8 100644
--- a/net/netfilter/xt_ipvs.c
+++ b/net/netfilter/xt_ipvs.c
@@ -116,7 +116,7 @@ ipvs_mt(const struct sk_buff *skb, struct xt_action_param *par)
enum ip_conntrack_info ctinfo;
struct nf_conn *ct = nf_ct_get(skb, &ctinfo);
- if (ct == NULL || nf_ct_is_untracked(ct)) {
+ if (ct == NULL) {
match = false;
goto out_put_cp;
}