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
cf611a8d
Commit
cf611a8d
authored
Mar 09, 2005
by
Simon Horman
Committed by
David S. Miller
Mar 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPVS]: Fix comment typos.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
dc14a93c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
net/ipv4/ipvs/ip_vs_core.c
net/ipv4/ipvs/ip_vs_core.c
+1
-1
net/ipv4/ipvs/ip_vs_wrr.c
net/ipv4/ipvs/ip_vs_wrr.c
+1
-1
No files found.
net/ipv4/ipvs/ip_vs_core.c
View file @
cf611a8d
...
@@ -1003,7 +1003,7 @@ ip_vs_in(unsigned int hooknum, struct sk_buff **pskb,
...
@@ -1003,7 +1003,7 @@ ip_vs_in(unsigned int hooknum, struct sk_buff **pskb,
/* Check the server status */
/* Check the server status */
if
(
cp
->
dest
&&
!
(
cp
->
dest
->
flags
&
IP_VS_DEST_F_AVAILABLE
))
{
if
(
cp
->
dest
&&
!
(
cp
->
dest
->
flags
&
IP_VS_DEST_F_AVAILABLE
))
{
/* the destination server is not availabe */
/* the destination server is not availab
l
e */
if
(
sysctl_ip_vs_expire_nodest_conn
)
{
if
(
sysctl_ip_vs_expire_nodest_conn
)
{
/* try to expire the connection immediately */
/* try to expire the connection immediately */
...
...
net/ipv4/ipvs/ip_vs_wrr.c
View file @
cf611a8d
...
@@ -163,7 +163,7 @@ ip_vs_wrr_schedule(struct ip_vs_service *svc, const struct sk_buff *skb)
...
@@ -163,7 +163,7 @@ ip_vs_wrr_schedule(struct ip_vs_service *svc, const struct sk_buff *skb)
if
(
mark
->
cw
<=
0
)
{
if
(
mark
->
cw
<=
0
)
{
mark
->
cw
=
mark
->
mw
;
mark
->
cw
=
mark
->
mw
;
/*
/*
* Still zero, which means no availabe servers.
* Still zero, which means no availab
l
e servers.
*/
*/
if
(
mark
->
cw
==
0
)
{
if
(
mark
->
cw
==
0
)
{
mark
->
cl
=
&
svc
->
destinations
;
mark
->
cl
=
&
svc
->
destinations
;
...
...
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