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
7b9e6ace
Commit
7b9e6ace
authored
May 05, 2003
by
Hideaki Yoshifuji
Committed by
David S. Miller
May 05, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6]: Fix offset in ICMPV6_HDR_FIELD messages.
parent
aad08544
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
net/ipv6/exthdrs.c
net/ipv6/exthdrs.c
+7
-2
No files found.
net/ipv6/exthdrs.c
View file @
7b9e6ace
...
...
@@ -252,8 +252,13 @@ static int ipv6_rthdr_rcv(struct sk_buff **skbp, unsigned int *nhoffp)
return
1
;
}
if
(
hdr
->
type
!=
IPV6_SRCRT_TYPE_0
||
(
hdr
->
hdrlen
&
0x01
))
{
icmpv6_param_prob
(
skb
,
ICMPV6_HDR_FIELD
,
hdr
->
type
!=
IPV6_SRCRT_TYPE_0
?
2
:
1
);
if
(
hdr
->
type
!=
IPV6_SRCRT_TYPE_0
)
{
icmpv6_param_prob
(
skb
,
ICMPV6_HDR_FIELD
,
(
&
hdr
->
type
)
-
skb
->
nh
.
raw
);
return
-
1
;
}
if
(
hdr
->
hdrlen
&
0x01
)
{
icmpv6_param_prob
(
skb
,
ICMPV6_HDR_FIELD
,
(
&
hdr
->
hdrlen
)
-
skb
->
nh
.
raw
);
return
-
1
;
}
...
...
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