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
Kirill Smelkov
linux
Commits
20fbc075
Commit
20fbc075
authored
Feb 19, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6]: Make ipv6_skip_exthdrs take const skb arg.
parent
ec95cfa6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/net/ipv6.h
include/net/ipv6.h
+1
-1
net/ipv6/exthdrs.c
net/ipv6/exthdrs.c
+1
-1
No files found.
include/net/ipv6.h
View file @
20fbc075
...
@@ -380,7 +380,7 @@ extern void ipv6_push_frag_opts(struct sk_buff *skb,
...
@@ -380,7 +380,7 @@ extern void ipv6_push_frag_opts(struct sk_buff *skb,
struct
ipv6_txoptions
*
opt
,
struct
ipv6_txoptions
*
opt
,
u8
*
proto
);
u8
*
proto
);
extern
int
ipv6_skip_exthdr
(
struct
sk_buff
*
,
int
start
,
extern
int
ipv6_skip_exthdr
(
const
struct
sk_buff
*
,
int
start
,
u8
*
nexthdrp
,
int
len
);
u8
*
nexthdrp
,
int
len
);
extern
int
ipv6_ext_hdr
(
u8
nexthdr
);
extern
int
ipv6_ext_hdr
(
u8
nexthdr
);
...
...
net/ipv6/exthdrs.c
View file @
20fbc075
...
@@ -694,7 +694,7 @@ int ipv6_ext_hdr(u8 nexthdr)
...
@@ -694,7 +694,7 @@ int ipv6_ext_hdr(u8 nexthdr)
* --ANK (980726)
* --ANK (980726)
*/
*/
int
ipv6_skip_exthdr
(
struct
sk_buff
*
skb
,
int
start
,
u8
*
nexthdrp
,
int
len
)
int
ipv6_skip_exthdr
(
const
struct
sk_buff
*
skb
,
int
start
,
u8
*
nexthdrp
,
int
len
)
{
{
u8
nexthdr
=
*
nexthdrp
;
u8
nexthdr
=
*
nexthdrp
;
...
...
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