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
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
Hide 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
/* Number of counters (must be equal to current number of entries). */
unsigned
int
num_counters
;
/* The old entries' counters. */
struct
arpt_counters
*
counters
;
struct
arpt_counters
__user
*
counters
;
/* The entries (hang off end: not really an array). */
struct
arpt_entry
entries
[
0
];
...
...
include/linux/netfilter_ipv4/ip_tables.h
View file @
d75b0fd4
...
...
@@ -252,7 +252,7 @@ struct ipt_replace
/* Number of counters (must be equal to current number of entries). */
unsigned
int
num_counters
;
/* The old entries' counters. */
struct
ipt_counters
*
counters
;
struct
ipt_counters
__user
*
counters
;
/* The entries (hang off end: not really an array). */
struct
ipt_entry
entries
[
0
];
...
...
include/linux/netfilter_ipv6/ip6_tables.h
View file @
d75b0fd4
...
...
@@ -258,7 +258,7 @@ struct ip6t_replace
/* Number of counters (must be equal to current number of entries). */
unsigned
int
num_counters
;
/* The old entries' counters. */
struct
ip6t_counters
*
counters
;
struct
ip6t_counters
__user
*
counters
;
/* The entries (hang off end: not really an array). */
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
* 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
};
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,
static
int
copy_entries_to_user
(
unsigned
int
total_size
,
struct
ip6t_table
*
table
,
void
*
userptr
)
void
__user
*
userptr
)
{
unsigned
int
off
,
num
,
countersize
;
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