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
236d2f49
Commit
236d2f49
authored
Feb 02, 2004
by
Jozsef Kadlecsik
Committed by
Linus Torvalds
Feb 02, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NETFILTER]: Fix NAT leak with fragmented packets, missing conntrack put in ip_copy_metadata().
parent
862e3994
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
net/ipv4/ip_output.c
net/ipv4/ip_output.c
+1
-0
No files found.
net/ipv4/ip_output.c
View file @
236d2f49
...
...
@@ -414,6 +414,7 @@ static void ip_copy_metadata(struct sk_buff *to, struct sk_buff *from)
to
->
nfmark
=
from
->
nfmark
;
to
->
nfcache
=
from
->
nfcache
;
/* Connection association is same as pre-frag packet */
nf_conntrack_put
(
to
->
nfct
);
to
->
nfct
=
from
->
nfct
;
nf_conntrack_get
(
to
->
nfct
);
#ifdef CONFIG_BRIDGE_NETFILTER
...
...
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