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
2eca8cc1
Commit
2eca8cc1
authored
Feb 17, 2010
by
Pavel Shilovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix losing port mount option for centos54
parent
f499ada3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
connect.c
sources/centos54/connect.c
+2
-2
No files found.
sources/centos54/connect.c
View file @
2eca8cc1
...
@@ -1565,14 +1565,14 @@ cifs_get_tcp_session(struct smb_vol *volume_info)
...
@@ -1565,14 +1565,14 @@ cifs_get_tcp_session(struct smb_vol *volume_info)
cFYI
(
1
,
(
"attempting ipv6 connect"
));
cFYI
(
1
,
(
"attempting ipv6 connect"
));
/* BB should we allow ipv6 on port 139? */
/* BB should we allow ipv6 on port 139? */
/* other OS never observed in Wild doing 139 with v6 */
/* other OS never observed in Wild doing 139 with v6 */
sin_server6
->
sin6_port
=
htons
(
volume_info
->
port
);
memcpy
(
&
tcp_ses
->
addr
.
sockAddr6
,
sin_server6
,
memcpy
(
&
tcp_ses
->
addr
.
sockAddr6
,
sin_server6
,
sizeof
(
struct
sockaddr_in6
));
sizeof
(
struct
sockaddr_in6
));
sin_server6
->
sin6_port
=
htons
(
volume_info
->
port
);
rc
=
ipv6_connect
(
tcp_ses
);
rc
=
ipv6_connect
(
tcp_ses
);
}
else
{
}
else
{
sin_server
->
sin_port
=
htons
(
volume_info
->
port
);
memcpy
(
&
tcp_ses
->
addr
.
sockAddr
,
sin_server
,
memcpy
(
&
tcp_ses
->
addr
.
sockAddr
,
sin_server
,
sizeof
(
struct
sockaddr_in
));
sizeof
(
struct
sockaddr_in
));
sin_server
->
sin_port
=
htons
(
volume_info
->
port
);
rc
=
ipv4_connect
(
tcp_ses
);
rc
=
ipv4_connect
(
tcp_ses
);
}
}
if
(
rc
<
0
)
{
if
(
rc
<
0
)
{
...
...
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