projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ed2f73
)
netfilter: revert a2361c8735e07322023aedc36e4938b35af31eb0
author
Pablo Neira Ayuso
<
[email protected]
>
Tue, 10 May 2011 10:13:36 +0000
(12:13 +0200)
committer
Pablo Neira Ayuso
<
[email protected]
>
Tue, 10 May 2011 10:13:36 +0000
(12:13 +0200)
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 <
[email protected]
>
Reported-by: Florian Wesphal <
[email protected]
>
Signed-off-by: Pablo Neira Ayuso <
[email protected]
>
net/netfilter/xt_conntrack.c
patch
|
blob
|
history
diff --git
a/net/netfilter/xt_conntrack.c
b/net/netfilter/xt_conntrack.c
index 481a86fdc40973bb43f62cfd2a36b0d4746f8a63..61805d7b38aa62e880c1e8f4e32f79d1bf5ffdc2 100644
(file)
--- 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",