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
Kirill Smelkov
linux
Commits
9e1adad4
Commit
9e1adad4
authored
Nov 13, 2004
by
Andries E. Brouwer
Committed by
Linus Torvalds
Nov 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] no __initdata in netfilter
Stuff marked initdata that is referenced in non-init context.
parent
d44dbac4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
net/ipv4/netfilter/ip_nat_rule.c
net/ipv4/netfilter/ip_nat_rule.c
+2
-2
net/ipv4/netfilter/iptable_filter.c
net/ipv4/netfilter/iptable_filter.c
+2
-2
No files found.
net/ipv4/netfilter/ip_nat_rule.c
View file @
9e1adad4
...
...
@@ -59,8 +59,8 @@ static struct
struct
ipt_replace
repl
;
struct
ipt_standard
entries
[
3
];
struct
ipt_error
term
;
}
nat_initial_table
__initdata
=
{
{
"nat"
,
NAT_VALID_HOOKS
,
4
,
}
nat_initial_table
=
{
{
"nat"
,
NAT_VALID_HOOKS
,
4
,
sizeof
(
struct
ipt_standard
)
*
3
+
sizeof
(
struct
ipt_error
),
{
[
NF_IP_PRE_ROUTING
]
=
0
,
[
NF_IP_POST_ROUTING
]
=
sizeof
(
struct
ipt_standard
),
...
...
net/ipv4/netfilter/iptable_filter.c
View file @
9e1adad4
...
...
@@ -44,8 +44,8 @@ static struct
struct
ipt_replace
repl
;
struct
ipt_standard
entries
[
3
];
struct
ipt_error
term
;
}
initial_table
__initdata
=
{
{
"filter"
,
FILTER_VALID_HOOKS
,
4
,
}
initial_table
=
{
{
"filter"
,
FILTER_VALID_HOOKS
,
4
,
sizeof
(
struct
ipt_standard
)
*
3
+
sizeof
(
struct
ipt_error
),
{
[
NF_IP_LOCAL_IN
]
=
0
,
[
NF_IP_FORWARD
]
=
sizeof
(
struct
ipt_standard
),
...
...
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