Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etercifs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etercifs
Commits
f9b89803
Commit
f9b89803
authored
Mar 10, 2009
by
Konstantin Baev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update sources 2.6.27 - 2.6.28
Fix bug Eter#3626 (cifs kmem_cache_destroy problem)
parent
7c5e8691
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
0 deletions
+14
-0
cifsglob.h
sources/2.6.27/cifsglob.h
+1
-0
connect.c
sources/2.6.27/connect.c
+6
-0
cifsglob.h
sources/2.6.28/cifsglob.h
+1
-0
connect.c
sources/2.6.28/connect.c
+6
-0
No files found.
sources/2.6.27/cifsglob.h
View file @
f9b89803
...
...
@@ -176,6 +176,7 @@ struct TCP_Server_Info {
struct
mac_key
mac_signing_key
;
char
ntlmv2_hash
[
16
];
unsigned
long
lstrp
;
/* when we got last response from this server */
int
running
;
};
/*
...
...
sources/2.6.27/connect.c
View file @
f9b89803
...
...
@@ -348,6 +348,7 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server)
bool
isMultiRsp
;
int
reconnect
;
server
->
running
=
1
;
current
->
flags
|=
PF_MEMALLOC
;
cFYI
(
1
,
(
"Demultiplex PID: %d"
,
task_pid_nr
(
current
)));
...
...
@@ -759,6 +760,8 @@ multi_t2_fnd:
kfree
(
server
->
hostname
);
task_to_wake
=
xchg
(
&
server
->
tsk
,
NULL
);
server
->
running
=
0
;
msleep
(
20
);
kfree
(
server
);
length
=
atomic_dec_return
(
&
tcpSesAllocCount
);
...
...
@@ -1420,6 +1423,9 @@ cifs_put_tcp_session(struct TCP_Server_Info *server)
task
=
xchg
(
&
server
->
tsk
,
NULL
);
if
(
task
)
force_sig
(
SIGKILL
,
task
);
while
(
server
->
running
==
1
)
msleep
(
10
);
}
static
struct
cifsSesInfo
*
...
...
sources/2.6.28/cifsglob.h
View file @
f9b89803
...
...
@@ -176,6 +176,7 @@ struct TCP_Server_Info {
struct
mac_key
mac_signing_key
;
char
ntlmv2_hash
[
16
];
unsigned
long
lstrp
;
/* when we got last response from this server */
int
running
;
};
/*
...
...
sources/2.6.28/connect.c
View file @
f9b89803
...
...
@@ -350,6 +350,7 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server)
bool
isMultiRsp
;
int
reconnect
;
server
->
running
=
1
;
current
->
flags
|=
PF_MEMALLOC
;
cFYI
(
1
,
(
"Demultiplex PID: %d"
,
task_pid_nr
(
current
)));
...
...
@@ -760,6 +761,8 @@ multi_t2_fnd:
kfree
(
server
->
hostname
);
task_to_wake
=
xchg
(
&
server
->
tsk
,
NULL
);
server
->
running
=
0
;
msleep
(
20
);
kfree
(
server
);
length
=
atomic_dec_return
(
&
tcpSesAllocCount
);
...
...
@@ -1427,6 +1430,9 @@ cifs_put_tcp_session(struct TCP_Server_Info *server)
task
=
xchg
(
&
server
->
tsk
,
NULL
);
if
(
task
)
force_sig
(
SIGKILL
,
task
);
while
(
server
->
running
==
1
)
msleep
(
10
);
}
static
struct
cifsSesInfo
*
...
...
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