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
160a47e9
Commit
160a47e9
authored
Jul 04, 2003
by
Hideaki Yoshifuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET] Fix oops with /proc/net/{raw,igmp,mfilter,
raw6,igmp6,mfilter6,anycast,ip6_flowlabel}.
parent
67cb96c0
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
net/ipv4/igmp.c
net/ipv4/igmp.c
+2
-2
net/ipv4/raw.c
net/ipv4/raw.c
+1
-1
net/ipv6/anycast.c
net/ipv6/anycast.c
+1
-1
net/ipv6/ip6_flowlabel.c
net/ipv6/ip6_flowlabel.c
+1
-1
net/ipv6/mcast.c
net/ipv6/mcast.c
+2
-2
net/ipv6/raw.c
net/ipv6/raw.c
+1
-1
No files found.
net/ipv4/igmp.c
View file @
160a47e9
...
...
@@ -2099,7 +2099,7 @@ struct igmp_mc_iter_state {
struct
in_device
*
in_dev
;
};
#define igmp_mc_seq_private(seq) ((struct igmp_mc_iter_state *)
&seq
->private)
#define igmp_mc_seq_private(seq) ((struct igmp_mc_iter_state *)
(seq)
->private)
static
inline
struct
ip_mc_list
*
igmp_mc_get_first
(
struct
seq_file
*
seq
)
{
...
...
@@ -2254,7 +2254,7 @@ struct igmp_mcf_iter_state {
struct
ip_mc_list
*
im
;
};
#define igmp_mcf_seq_private(seq) ((struct igmp_mcf_iter_state *)
&seq
->private)
#define igmp_mcf_seq_private(seq) ((struct igmp_mcf_iter_state *)
(seq)
->private)
static
inline
struct
ip_sf_list
*
igmp_mcf_get_first
(
struct
seq_file
*
seq
)
{
...
...
net/ipv4/raw.c
View file @
160a47e9
...
...
@@ -687,7 +687,7 @@ struct raw_iter_state {
int
bucket
;
};
#define raw_seq_private(seq) ((struct raw_iter_state *)
&seq
->private)
#define raw_seq_private(seq) ((struct raw_iter_state *)
(seq)
->private)
static
struct
sock
*
raw_get_first
(
struct
seq_file
*
seq
)
{
...
...
net/ipv6/anycast.c
View file @
160a47e9
...
...
@@ -441,7 +441,7 @@ struct ac6_iter_state {
struct
inet6_dev
*
idev
;
};
#define ac6_seq_private(seq) ((struct ac6_iter_state *)
&seq
->private)
#define ac6_seq_private(seq) ((struct ac6_iter_state *)
(seq)
->private)
static
inline
struct
ifacaddr6
*
ac6_get_first
(
struct
seq_file
*
seq
)
{
...
...
net/ipv6/ip6_flowlabel.c
View file @
160a47e9
...
...
@@ -559,7 +559,7 @@ struct ip6fl_iter_state {
int
bucket
;
};
#define ip6fl_seq_private(seq) ((struct ip6fl_iter_state *)
&
(seq)->private)
#define ip6fl_seq_private(seq) ((struct ip6fl_iter_state *)(seq)->private)
static
struct
ip6_flowlabel
*
ip6fl_get_first
(
struct
seq_file
*
seq
)
{
...
...
net/ipv6/mcast.c
View file @
160a47e9
...
...
@@ -2045,7 +2045,7 @@ struct igmp6_mc_iter_state {
struct
inet6_dev
*
idev
;
};
#define igmp6_mc_seq_private(seq) ((struct igmp6_mc_iter_state *)
&seq
->private)
#define igmp6_mc_seq_private(seq) ((struct igmp6_mc_iter_state *)
(seq)
->private)
static
inline
struct
ifmcaddr6
*
igmp6_mc_get_first
(
struct
seq_file
*
seq
)
{
...
...
@@ -2185,7 +2185,7 @@ struct igmp6_mcf_iter_state {
struct
ifmcaddr6
*
im
;
};
#define igmp6_mcf_seq_private(seq) ((struct igmp6_mcf_iter_state *)
&seq
->private)
#define igmp6_mcf_seq_private(seq) ((struct igmp6_mcf_iter_state *)
(seq)
->private)
static
inline
struct
ip6_sf_list
*
igmp6_mcf_get_first
(
struct
seq_file
*
seq
)
{
...
...
net/ipv6/raw.c
View file @
160a47e9
...
...
@@ -913,7 +913,7 @@ struct raw6_iter_state {
int
bucket
;
};
#define raw6_seq_private(seq) ((struct raw6_iter_state *)
&seq
->private)
#define raw6_seq_private(seq) ((struct raw6_iter_state *)
(seq)
->private)
static
struct
sock
*
raw6_get_first
(
struct
seq_file
*
seq
)
{
...
...
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