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
nexedi
linux
Commits
94c3cc00
Commit
94c3cc00
authored
Jul 20, 2003
by
Wensong Zhang
Committed by
David S. Miller
Jul 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV4/IPVS]: Deactivate the timer in connection expire if it is activated by other users
parent
55e61717
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
net/ipv4/ipvs/ip_vs_conn.c
net/ipv4/ipvs/ip_vs_conn.c
+4
-0
No files found.
net/ipv4/ipvs/ip_vs_conn.c
View file @
94c3cc00
...
...
@@ -507,6 +507,10 @@ static void ip_vs_conn_expire(unsigned long data)
* refcnt==1 implies I'm the only one referrer
*/
if
(
likely
(
atomic_read
(
&
cp
->
refcnt
)
==
1
))
{
/* delete the timer if it is activated by other users */
if
(
timer_pending
(
&
cp
->
timer
))
del_timer
(
&
cp
->
timer
);
/* does anybody control me? */
if
(
cp
->
control
)
ip_vs_control_del
(
cp
);
...
...
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