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
4bff9a25
Commit
4bff9a25
authored
Jan 24, 2004
by
Daniele Bellucci
Committed by
David S. Miller
Jan 24, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NETFILTER]: Make use of ipt_register_target() return values.
parent
eec562d9
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
27 deletions
+7
-27
net/ipv4/netfilter/ipt_CLASSIFY.c
net/ipv4/netfilter/ipt_CLASSIFY.c
+1
-4
net/ipv4/netfilter/ipt_DSCP.c
net/ipv4/netfilter/ipt_DSCP.c
+1
-4
net/ipv4/netfilter/ipt_ECN.c
net/ipv4/netfilter/ipt_ECN.c
+1
-4
net/ipv4/netfilter/ipt_LOG.c
net/ipv4/netfilter/ipt_LOG.c
+1
-4
net/ipv4/netfilter/ipt_MARK.c
net/ipv4/netfilter/ipt_MARK.c
+1
-4
net/ipv4/netfilter/ipt_REJECT.c
net/ipv4/netfilter/ipt_REJECT.c
+1
-3
net/ipv4/netfilter/ipt_TOS.c
net/ipv4/netfilter/ipt_TOS.c
+1
-4
No files found.
net/ipv4/netfilter/ipt_CLASSIFY.c
View file @
4bff9a25
...
...
@@ -71,10 +71,7 @@ static struct ipt_target ipt_classify_reg = {
static
int
__init
init
(
void
)
{
if
(
ipt_register_target
(
&
ipt_classify_reg
))
return
-
EINVAL
;
return
0
;
return
ipt_register_target
(
&
ipt_classify_reg
);
}
static
void
__exit
fini
(
void
)
...
...
net/ipv4/netfilter/ipt_DSCP.c
View file @
4bff9a25
...
...
@@ -91,10 +91,7 @@ static struct ipt_target ipt_dscp_reg = {
static
int
__init
init
(
void
)
{
if
(
ipt_register_target
(
&
ipt_dscp_reg
))
return
-
EINVAL
;
return
0
;
return
ipt_register_target
(
&
ipt_dscp_reg
);
}
static
void
__exit
fini
(
void
)
...
...
net/ipv4/netfilter/ipt_ECN.c
View file @
4bff9a25
...
...
@@ -155,10 +155,7 @@ static struct ipt_target ipt_ecn_reg = {
static
int
__init
init
(
void
)
{
if
(
ipt_register_target
(
&
ipt_ecn_reg
))
return
-
EINVAL
;
return
0
;
return
ipt_register_target
(
&
ipt_ecn_reg
);
}
static
void
__exit
fini
(
void
)
...
...
net/ipv4/netfilter/ipt_LOG.c
View file @
4bff9a25
...
...
@@ -404,10 +404,7 @@ static struct ipt_target ipt_log_reg = {
static
int
__init
init
(
void
)
{
if
(
ipt_register_target
(
&
ipt_log_reg
))
return
-
EINVAL
;
return
0
;
return
ipt_register_target
(
&
ipt_log_reg
);
}
static
void
__exit
fini
(
void
)
...
...
net/ipv4/netfilter/ipt_MARK.c
View file @
4bff9a25
...
...
@@ -59,10 +59,7 @@ static struct ipt_target ipt_mark_reg = {
static
int
__init
init
(
void
)
{
if
(
ipt_register_target
(
&
ipt_mark_reg
))
return
-
EINVAL
;
return
0
;
return
ipt_register_target
(
&
ipt_mark_reg
);
}
static
void
__exit
fini
(
void
)
...
...
net/ipv4/netfilter/ipt_REJECT.c
View file @
4bff9a25
...
...
@@ -449,9 +449,7 @@ static struct ipt_target ipt_reject_reg = {
static
int
__init
init
(
void
)
{
if
(
ipt_register_target
(
&
ipt_reject_reg
))
return
-
EINVAL
;
return
0
;
return
ipt_register_target
(
&
ipt_reject_reg
);
}
static
void
__exit
fini
(
void
)
...
...
net/ipv4/netfilter/ipt_TOS.c
View file @
4bff9a25
...
...
@@ -84,10 +84,7 @@ static struct ipt_target ipt_tos_reg = {
static
int
__init
init
(
void
)
{
if
(
ipt_register_target
(
&
ipt_tos_reg
))
return
-
EINVAL
;
return
0
;
return
ipt_register_target
(
&
ipt_tos_reg
);
}
static
void
__exit
fini
(
void
)
...
...
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