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
ae093577
Commit
ae093577
authored
Feb 09, 2011
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6
parents
75d1a752
c3174286
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_core.c
+9
-2
No files found.
net/netfilter/nf_conntrack_core.c
View file @
ae093577
...
@@ -942,8 +942,15 @@ nf_conntrack_in(struct net *net, u_int8_t pf, unsigned int hooknum,
...
@@ -942,8 +942,15 @@ nf_conntrack_in(struct net *net, u_int8_t pf, unsigned int hooknum,
if
(
set_reply
&&
!
test_and_set_bit
(
IPS_SEEN_REPLY_BIT
,
&
ct
->
status
))
if
(
set_reply
&&
!
test_and_set_bit
(
IPS_SEEN_REPLY_BIT
,
&
ct
->
status
))
nf_conntrack_event_cache
(
IPCT_REPLY
,
ct
);
nf_conntrack_event_cache
(
IPCT_REPLY
,
ct
);
out:
out:
if
(
tmpl
)
if
(
tmpl
)
{
nf_ct_put
(
tmpl
);
/* Special case: we have to repeat this hook, assign the
* template again to this packet. We assume that this packet
* has no conntrack assigned. This is used by nf_ct_tcp. */
if
(
ret
==
NF_REPEAT
)
skb
->
nfct
=
(
struct
nf_conntrack
*
)
tmpl
;
else
nf_ct_put
(
tmpl
);
}
return
ret
;
return
ret
;
}
}
...
...
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