Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
7d82bd26
Commit
7d82bd26
authored
Mar 30, 2003
by
Paul Mielke
Committed by
David S. Miller
Mar 30, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NETFILTER]: ip_conntrack bugfix for LOCAL_NAT and PPTP.
parent
3d705d38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
net/ipv4/netfilter/ip_nat_standalone.c
net/ipv4/netfilter/ip_nat_standalone.c
+6
-6
No files found.
net/ipv4/netfilter/ip_nat_standalone.c
View file @
7d82bd26
...
@@ -110,12 +110,6 @@ ip_nat_fn(unsigned int hooknum,
...
@@ -110,12 +110,6 @@ ip_nat_fn(unsigned int hooknum,
}
}
/* Fall thru... (Only ICMPs can be IP_CT_IS_REPLY) */
/* Fall thru... (Only ICMPs can be IP_CT_IS_REPLY) */
case
IP_CT_NEW
:
case
IP_CT_NEW
:
#ifdef CONFIG_IP_NF_NAT_LOCAL
/* LOCAL_IN hook doesn't have a chain and thus doesn't care
* about new packets -HW */
if
(
hooknum
==
NF_IP_LOCAL_IN
)
return
NF_ACCEPT
;
#endif
info
=
&
ct
->
nat
.
info
;
info
=
&
ct
->
nat
.
info
;
WRITE_LOCK
(
&
ip_nat_lock
);
WRITE_LOCK
(
&
ip_nat_lock
);
...
@@ -131,6 +125,12 @@ ip_nat_fn(unsigned int hooknum,
...
@@ -131,6 +125,12 @@ ip_nat_fn(unsigned int hooknum,
ret
=
call_expect
(
master_ct
(
ct
),
pskb
,
ret
=
call_expect
(
master_ct
(
ct
),
pskb
,
hooknum
,
ct
,
info
);
hooknum
,
ct
,
info
);
}
else
{
}
else
{
#ifdef CONFIG_IP_NF_NAT_LOCAL
/* LOCAL_IN hook doesn't have a chain! */
if
(
hooknum
==
NF_IP_LOCAL_IN
)
{
ret
=
NF_ACCEPT
;
}
else
#endif
ret
=
ip_nat_rule_find
(
pskb
,
hooknum
,
in
,
out
,
ret
=
ip_nat_rule_find
(
pskb
,
hooknum
,
in
,
out
,
ct
,
info
);
ct
,
info
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment