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
d75b0fd4
Commit
d75b0fd4
authored
Jun 03, 2004
by
Alexander Viro
Committed by
Linus Torvalds
Jun 03, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sparse: more netfilter annotation
parent
43638f5e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
include/linux/netfilter_arp/arp_tables.h
include/linux/netfilter_arp/arp_tables.h
+1
-1
include/linux/netfilter_ipv4/ip_tables.h
include/linux/netfilter_ipv4/ip_tables.h
+1
-1
include/linux/netfilter_ipv6/ip6_tables.h
include/linux/netfilter_ipv6/ip6_tables.h
+1
-1
net/ipv4/netfilter/ipt_recent.c
net/ipv4/netfilter/ipt_recent.c
+1
-1
net/ipv6/netfilter/ip6_tables.c
net/ipv6/netfilter/ip6_tables.c
+1
-1
No files found.
include/linux/netfilter_arp/arp_tables.h
View file @
d75b0fd4
...
@@ -205,7 +205,7 @@ struct arpt_replace
...
@@ -205,7 +205,7 @@ struct arpt_replace
/* Number of counters (must be equal to current number of entries). */
/* Number of counters (must be equal to current number of entries). */
unsigned
int
num_counters
;
unsigned
int
num_counters
;
/* The old entries' counters. */
/* The old entries' counters. */
struct
arpt_counters
*
counters
;
struct
arpt_counters
__user
*
counters
;
/* The entries (hang off end: not really an array). */
/* The entries (hang off end: not really an array). */
struct
arpt_entry
entries
[
0
];
struct
arpt_entry
entries
[
0
];
...
...
include/linux/netfilter_ipv4/ip_tables.h
View file @
d75b0fd4
...
@@ -252,7 +252,7 @@ struct ipt_replace
...
@@ -252,7 +252,7 @@ struct ipt_replace
/* Number of counters (must be equal to current number of entries). */
/* Number of counters (must be equal to current number of entries). */
unsigned
int
num_counters
;
unsigned
int
num_counters
;
/* The old entries' counters. */
/* The old entries' counters. */
struct
ipt_counters
*
counters
;
struct
ipt_counters
__user
*
counters
;
/* The entries (hang off end: not really an array). */
/* The entries (hang off end: not really an array). */
struct
ipt_entry
entries
[
0
];
struct
ipt_entry
entries
[
0
];
...
...
include/linux/netfilter_ipv6/ip6_tables.h
View file @
d75b0fd4
...
@@ -258,7 +258,7 @@ struct ip6t_replace
...
@@ -258,7 +258,7 @@ struct ip6t_replace
/* Number of counters (must be equal to current number of entries). */
/* Number of counters (must be equal to current number of entries). */
unsigned
int
num_counters
;
unsigned
int
num_counters
;
/* The old entries' counters. */
/* The old entries' counters. */
struct
ip6t_counters
*
counters
;
struct
ip6t_counters
__user
*
counters
;
/* The entries (hang off end: not really an array). */
/* The entries (hang off end: not really an array). */
struct
ip6t_entry
entries
[
0
];
struct
ip6t_entry
entries
[
0
];
...
...
net/ipv4/netfilter/ipt_recent.c
View file @
d75b0fd4
...
@@ -175,7 +175,7 @@ static int ip_recent_get_info(char *buffer, char **start, off_t offset, int leng
...
@@ -175,7 +175,7 @@ static int ip_recent_get_info(char *buffer, char **start, off_t offset, int leng
* clear -- Flush table, remove all entries
* clear -- Flush table, remove all entries
*/
*/
static
int
ip_recent_ctrl
(
struct
file
*
file
,
const
char
*
input
,
unsigned
long
size
,
void
*
data
)
static
int
ip_recent_ctrl
(
struct
file
*
file
,
const
char
__user
*
input
,
unsigned
long
size
,
void
*
data
)
{
{
static
const
u_int32_t
max
[
4
]
=
{
0xffffffff
,
0xffffff
,
0xffff
,
0xff
};
static
const
u_int32_t
max
[
4
]
=
{
0xffffffff
,
0xffffff
,
0xffff
,
0xff
};
u_int32_t
val
;
u_int32_t
val
;
...
...
net/ipv6/netfilter/ip6_tables.c
View file @
d75b0fd4
...
@@ -1028,7 +1028,7 @@ get_counters(const struct ip6t_table_info *t,
...
@@ -1028,7 +1028,7 @@ get_counters(const struct ip6t_table_info *t,
static
int
static
int
copy_entries_to_user
(
unsigned
int
total_size
,
copy_entries_to_user
(
unsigned
int
total_size
,
struct
ip6t_table
*
table
,
struct
ip6t_table
*
table
,
void
*
userptr
)
void
__user
*
userptr
)
{
{
unsigned
int
off
,
num
,
countersize
;
unsigned
int
off
,
num
,
countersize
;
struct
ip6t_entry
*
e
;
struct
ip6t_entry
*
e
;
...
...
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