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
43ee0061
Commit
43ee0061
authored
May 02, 2003
by
Harald Welte
Committed by
David S. Miller
May 02, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NETFILTER]: Trivial but important state fix for ipt_conntrack.
parent
21e9cc0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
net/ipv4/netfilter/ipt_conntrack.c
net/ipv4/netfilter/ipt_conntrack.c
+5
-1
No files found.
net/ipv4/netfilter/ipt_conntrack.c
View file @
43ee0061
...
@@ -27,7 +27,11 @@ match(const struct sk_buff *skb,
...
@@ -27,7 +27,11 @@ match(const struct sk_buff *skb,
#define FWINV(bool,invflg) ((bool) ^ !!(sinfo->invflags & invflg))
#define FWINV(bool,invflg) ((bool) ^ !!(sinfo->invflags & invflg))
statebit
=
ct
?
IPT_CONNTRACK_STATE_INVALID
:
IPT_CONNTRACK_STATE_BIT
(
ctinfo
);
if
(
ct
)
statebit
=
IPT_CONNTRACK_STATE_BIT
(
ctinfo
);
else
statebit
=
IPT_CONNTRACK_STATE_INVALID
;
if
(
sinfo
->
flags
&
IPT_CONNTRACK_STATE
)
{
if
(
sinfo
->
flags
&
IPT_CONNTRACK_STATE
)
{
if
(
ct
)
{
if
(
ct
)
{
if
(
ct
->
tuplehash
[
IP_CT_DIR_ORIGINAL
].
tuple
.
src
.
ip
!=
if
(
ct
->
tuplehash
[
IP_CT_DIR_ORIGINAL
].
tuple
.
src
.
ip
!=
...
...
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