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
952a10be
Commit
952a10be
authored
Apr 21, 2007
by
YOSHIFUJI Hideaki
Committed by
David S. Miller
Apr 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6] SNMP: Fix several warnings without procfs.
Signed-off-by:
YOSHIFUJI Hideaki
<
yoshfuji@linux-ipv6.org
>
parent
2334e973
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
net/ipv6/route.c
net/ipv6/route.c
+2
-1
net/ipv6/tcp_ipv6.c
net/ipv6/tcp_ipv6.c
+1
-1
No files found.
net/ipv6/route.c
View file @
952a10be
...
@@ -2489,8 +2489,9 @@ ctl_table ipv6_route_table[] = {
...
@@ -2489,8 +2489,9 @@ ctl_table ipv6_route_table[] = {
void
__init
ip6_route_init
(
void
)
void
__init
ip6_route_init
(
void
)
{
{
#ifdef CONFIG_PROC_FS
struct
proc_dir_entry
*
p
;
struct
proc_dir_entry
*
p
;
#endif
ip6_dst_ops
.
kmem_cachep
=
ip6_dst_ops
.
kmem_cachep
=
kmem_cache_create
(
"ip6_dst_cache"
,
sizeof
(
struct
rt6_info
),
0
,
kmem_cache_create
(
"ip6_dst_cache"
,
sizeof
(
struct
rt6_info
),
0
,
SLAB_HWCACHE_ALIGN
|
SLAB_PANIC
,
NULL
,
NULL
);
SLAB_HWCACHE_ALIGN
|
SLAB_PANIC
,
NULL
,
NULL
);
...
...
net/ipv6/tcp_ipv6.c
View file @
952a10be
...
@@ -1947,6 +1947,7 @@ static int tcp_v6_destroy_sock(struct sock *sk)
...
@@ -1947,6 +1947,7 @@ static int tcp_v6_destroy_sock(struct sock *sk)
return
inet6_destroy_sock
(
sk
);
return
inet6_destroy_sock
(
sk
);
}
}
#ifdef CONFIG_PROC_FS
/* Proc filesystem TCPv6 sock list dumping. */
/* Proc filesystem TCPv6 sock list dumping. */
static
void
get_openreq6
(
struct
seq_file
*
seq
,
static
void
get_openreq6
(
struct
seq_file
*
seq
,
struct
sock
*
sk
,
struct
request_sock
*
req
,
int
i
,
int
uid
)
struct
sock
*
sk
,
struct
request_sock
*
req
,
int
i
,
int
uid
)
...
@@ -2063,7 +2064,6 @@ static void get_timewait6_sock(struct seq_file *seq,
...
@@ -2063,7 +2064,6 @@ static void get_timewait6_sock(struct seq_file *seq,
atomic_read
(
&
tw
->
tw_refcnt
),
tw
);
atomic_read
(
&
tw
->
tw_refcnt
),
tw
);
}
}
#ifdef CONFIG_PROC_FS
static
int
tcp6_seq_show
(
struct
seq_file
*
seq
,
void
*
v
)
static
int
tcp6_seq_show
(
struct
seq_file
*
seq
,
void
*
v
)
{
{
struct
tcp_iter_state
*
st
;
struct
tcp_iter_state
*
st
;
...
...
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