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
94cfc6fe
Commit
94cfc6fe
authored
Oct 27, 2002
by
Hideaki Yoshifuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6]: Avoid garbage sin6_scope_id for MSG_ERRQUEUE messages.
parent
fc1061be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
net/ipv6/datagram.c
net/ipv6/datagram.c
+1
-0
No files found.
net/ipv6/datagram.c
View file @
94cfc6fe
...
...
@@ -161,6 +161,7 @@ int ipv6_recv_error(struct sock *sk, struct msghdr *msg, int len)
if
(
serr
->
ee
.
ee_origin
!=
SO_EE_ORIGIN_LOCAL
)
{
sin
->
sin6_family
=
AF_INET6
;
sin
->
sin6_flowinfo
=
0
;
sin
->
sin6_scope_id
=
0
;
if
(
serr
->
ee
.
ee_origin
==
SO_EE_ORIGIN_ICMP6
)
{
memcpy
(
&
sin
->
sin6_addr
,
&
skb
->
nh
.
ipv6h
->
saddr
,
16
);
if
(
np
->
rxopt
.
all
)
...
...
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