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
2ea93f28
Commit
2ea93f28
authored
Mar 21, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing KERN_foo printk specifiers to networking.
Based upon a patch from Denis Vlasenko.
parent
68775b6f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
net/ipv4/route.c
net/ipv4/route.c
+5
-5
net/ipv4/tcp.c
net/ipv4/tcp.c
+2
-2
No files found.
net/ipv4/route.c
View file @
2ea93f28
...
...
@@ -583,7 +583,7 @@ static int rt_garbage_collect(void)
if
(
atomic_read
(
&
ipv4_dst_ops
.
entries
)
<
ip_rt_max_size
)
goto
out
;
if
(
net_ratelimit
())
printk
(
"dst cache overflow
\n
"
);
printk
(
KERN_WARNING
"dst cache overflow
\n
"
);
return
1
;
work_done:
...
...
@@ -657,7 +657,7 @@ static int rt_intern_hash(unsigned hash, struct rtable *rt, struct rtable **rp)
}
if
(
net_ratelimit
())
printk
(
"Neighbour table overflow.
\n
"
);
printk
(
KERN_WARNING
"Neighbour table overflow.
\n
"
);
rt_drop
(
rt
);
return
-
ENOBUFS
;
}
...
...
@@ -667,7 +667,7 @@ static int rt_intern_hash(unsigned hash, struct rtable *rt, struct rtable **rp)
#if RT_CACHE_DEBUG >= 2
if
(
rt
->
u
.
rt_next
)
{
struct
rtable
*
trt
;
printk
(
"rt_cache @%02x: %u.%u.%u.%u"
,
hash
,
printk
(
KERN_DEBUG
"rt_cache @%02x: %u.%u.%u.%u"
,
hash
,
NIPQUAD
(
rt
->
rt_dst
));
for
(
trt
=
rt
->
u
.
rt_next
;
trt
;
trt
=
trt
->
u
.
rt_next
)
printk
(
" . %u.%u.%u.%u"
,
NIPQUAD
(
trt
->
rt_dst
));
...
...
@@ -2487,7 +2487,7 @@ void __init ip_rt_init(void)
if
(
!
rt_hash_table
)
panic
(
"Failed to allocate IP route cache hash table
\n
"
);
printk
(
"IP: routing cache hash table of %u buckets, %ldKbytes
\n
"
,
printk
(
KERN_INFO
"IP: routing cache hash table of %u buckets, %ldKbytes
\n
"
,
rt_hash_mask
,
(
long
)
(
rt_hash_mask
*
sizeof
(
struct
rt_hash_bucket
))
/
1024
);
...
...
net/ipv4/tcp.c
View file @
2ea93f28
...
...
@@ -1792,7 +1792,7 @@ void tcp_destroy_sock(struct sock *sk)
#ifdef TCP_DEBUG
if
(
sk
->
zapped
)
{
printk
(
"TCP: double destroy sk=%p
\n
"
,
sk
);
printk
(
KERN_DEBUG
"TCP: double destroy sk=%p
\n
"
,
sk
);
sock_hold
(
sk
);
}
sk
->
zapped
=
1
;
...
...
@@ -2558,7 +2558,7 @@ void __init tcp_init(void)
sysctl_tcp_rmem
[
2
]
=
2
*
43689
;
}
printk
(
"TCP: Hash tables configured (established %d bind %d)
\n
"
,
printk
(
KERN_INFO
"TCP: Hash tables configured (established %d bind %d)
\n
"
,
tcp_ehash_size
<<
1
,
tcp_bhash_size
);
tcpdiag_init
();
...
...
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