summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2011-05-10 12:13:36 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2011-05-10 12:13:36 +0200
commit93bbce1ad0cd788190dd7d6c17d289f771fe3d0d (patch)
tree59ccc7b048649ce31ccd4559fad42a1c068f7ad3 /net
parentnetfilter: IPv6: fix DSCP mangle code (diff)
downloadlinux-93bbce1ad0cd788190dd7d6c17d289f771fe3d0d.tar.xz
linux-93bbce1ad0cd788190dd7d6c17d289f771fe3d0d.zip
netfilter: revert a2361c8735e07322023aedc36e4938b35af31eb0
This patch reverts a2361c8735e07322023aedc36e4938b35af31eb0: "[PATCH] netfilter: xt_conntrack: warn about use in raw table" Florian Wesphal says: "... when the packet was sent from the local machine the skb already has ->nfct attached, and -m conntrack seems to do the right thing." Acked-by: Jan Engelhardt <jengelh@medozas.de> Reported-by: Florian Wesphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/xt_conntrack.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/netfilter/xt_conntrack.c b/net/netfilter/xt_conntrack.c
index 481a86fdc409..61805d7b38aa 100644
--- a/net/netfilter/xt_conntrack.c
+++ b/net/netfilter/xt_conntrack.c
@@ -272,11 +272,6 @@ static int conntrack_mt_check(const struct xt_mtchk_param *par)
{
int ret;
- if (strcmp(par->table, "raw") == 0) {
- pr_info("state is undetermined at the time of raw table\n");
- return -EINVAL;
- }
-
ret = nf_ct_l3proto_try_module_get(par->family);
if (ret < 0)
pr_info("cannot load conntrack support for proto=%u\n",