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
b27faa23
Commit
b27faa23
authored
Jul 15, 2003
by
Wensong Zhang
Committed by
Hideaki Yoshifuji
Jul 15, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV4]: Remove the unnecessay del_timer_sync call in IPVS connection expire.
parent
14cc87b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
net/ipv4/ipvs/ip_vs_conn.c
net/ipv4/ipvs/ip_vs_conn.c
+0
-4
No files found.
net/ipv4/ipvs/ip_vs_conn.c
View file @
b27faa23
...
@@ -507,9 +507,6 @@ static void ip_vs_conn_expire(unsigned long data)
...
@@ -507,9 +507,6 @@ static void ip_vs_conn_expire(unsigned long data)
* refcnt==1 implies I'm the only one referrer
* refcnt==1 implies I'm the only one referrer
*/
*/
if
(
likely
(
atomic_read
(
&
cp
->
refcnt
)
==
1
))
{
if
(
likely
(
atomic_read
(
&
cp
->
refcnt
)
==
1
))
{
/* make sure that there is no timer on it now */
del_timer_sync
(
&
cp
->
timer
);
/* does anybody control me? */
/* does anybody control me? */
if
(
cp
->
control
)
if
(
cp
->
control
)
ip_vs_control_del
(
cp
);
ip_vs_control_del
(
cp
);
...
@@ -517,7 +514,6 @@ static void ip_vs_conn_expire(unsigned long data)
...
@@ -517,7 +514,6 @@ static void ip_vs_conn_expire(unsigned long data)
if
(
unlikely
(
cp
->
app
!=
NULL
))
if
(
unlikely
(
cp
->
app
!=
NULL
))
ip_vs_unbind_app
(
cp
);
ip_vs_unbind_app
(
cp
);
ip_vs_unbind_dest
(
cp
);
ip_vs_unbind_dest
(
cp
);
//ip_vs_timeout_detach(cp);
if
(
cp
->
flags
&
IP_VS_CONN_F_NO_CPORT
)
if
(
cp
->
flags
&
IP_VS_CONN_F_NO_CPORT
)
atomic_dec
(
&
ip_vs_conn_no_cport_cnt
);
atomic_dec
(
&
ip_vs_conn_no_cport_cnt
);
atomic_dec
(
&
ip_vs_conn_count
);
atomic_dec
(
&
ip_vs_conn_count
);
...
...
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