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
f1390160
Commit
f1390160
authored
May 03, 2011
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dccp: Use flowi4->saddr in dccp_v4_connect()
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
475949d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
net/dccp/ipv4.c
net/dccp/ipv4.c
+1
-1
No files found.
net/dccp/ipv4.c
View file @
f1390160
...
...
@@ -86,7 +86,7 @@ int dccp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len)
daddr
=
fl4
.
daddr
;
if
(
inet
->
inet_saddr
==
0
)
inet
->
inet_saddr
=
rt
->
rt_src
;
inet
->
inet_saddr
=
fl4
.
saddr
;
inet
->
inet_rcv_saddr
=
inet
->
inet_saddr
;
inet
->
inet_dport
=
usin
->
sin_port
;
...
...
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