Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
383ca5b8
Commit
383ca5b8
authored
Apr 14, 2009
by
Jan Engelhardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netfilter: xtables: use NFPROTO_ for xt_proto_init callsites
Signed-off-by:
Jan Engelhardt
<
jengelh@medozas.de
>
parent
928f308f
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_tables.c
net/ipv4/netfilter/ip_tables.c
+2
-2
net/ipv6/netfilter/ip6_tables.c
net/ipv6/netfilter/ip6_tables.c
+2
-2
No files found.
net/ipv4/netfilter/ip_tables.c
View file @
383ca5b8
...
...
@@ -2201,12 +2201,12 @@ static struct xt_match icmp_matchstruct __read_mostly = {
static
int
__net_init
ip_tables_net_init
(
struct
net
*
net
)
{
return
xt_proto_init
(
net
,
AF_INET
);
return
xt_proto_init
(
net
,
NFPROTO_IPV4
);
}
static
void
__net_exit
ip_tables_net_exit
(
struct
net
*
net
)
{
xt_proto_fini
(
net
,
AF_INET
);
xt_proto_fini
(
net
,
NFPROTO_IPV4
);
}
static
struct
pernet_operations
ip_tables_net_ops
=
{
...
...
net/ipv6/netfilter/ip6_tables.c
View file @
383ca5b8
...
...
@@ -2234,12 +2234,12 @@ static struct xt_match icmp6_matchstruct __read_mostly = {
static
int
__net_init
ip6_tables_net_init
(
struct
net
*
net
)
{
return
xt_proto_init
(
net
,
AF_INET
6
);
return
xt_proto_init
(
net
,
NFPROTO_IPV
6
);
}
static
void
__net_exit
ip6_tables_net_exit
(
struct
net
*
net
)
{
xt_proto_fini
(
net
,
AF_INET
6
);
xt_proto_fini
(
net
,
NFPROTO_IPV
6
);
}
static
struct
pernet_operations
ip6_tables_net_ops
=
{
...
...
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