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
2f162262
Commit
2f162262
authored
Nov 26, 2003
by
Hideaki Yoshifuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6]: Fix ipv4 mapped address calculation in udpv6_sendmsg().
parent
e689bf58
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
net/ipv6/udp.c
net/ipv6/udp.c
+1
-1
No files found.
net/ipv6/udp.c
View file @
2f162262
...
...
@@ -825,7 +825,7 @@ static int udpv6_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg
struct
sockaddr_in
sin
;
sin
.
sin_family
=
AF_INET
;
sin
.
sin_port
=
sin6
?
sin6
->
sin6_port
:
inet
->
dport
;
sin
.
sin_addr
.
s_addr
=
daddr
->
s6_addr
[
3
];
sin
.
sin_addr
.
s_addr
=
daddr
->
s6_addr
32
[
3
];
msg
->
msg_name
=
&
sin
;
msg
->
msg_namelen
=
sizeof
(
sin
);
do_udp_sendmsg:
...
...
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