summaryrefslogtreecommitdiffstats
path: root/include/net/ipv6.h
diff options
context:
space:
mode:
authorHuw Davies2016-06-27 21:06:15 +0200
committerPaul Moore2016-06-27 21:06:15 +0200
commit0868383b822e4d8ebde980c7aac973a6aa81a3ec (patch)
treedfdf0f63c8a0559997c224eb103bfdb419c62a94 /include/net/ipv6.h
parentcalipso: Allow request sockets to be relabelled by the lsm. (diff)
downloadkernel-qcow2-linux-0868383b822e4d8ebde980c7aac973a6aa81a3ec.tar.gz
kernel-qcow2-linux-0868383b822e4d8ebde980c7aac973a6aa81a3ec.tar.xz
kernel-qcow2-linux-0868383b822e4d8ebde980c7aac973a6aa81a3ec.zip
ipv6: constify the skb pointer of ipv6_find_tlv().
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r--include/net/ipv6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h
index 4e279a83cdd0..24a5ebecaf1f 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -945,7 +945,7 @@ enum {
int ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset, int target,
unsigned short *fragoff, int *fragflg);
-int ipv6_find_tlv(struct sk_buff *skb, int offset, int type);
+int ipv6_find_tlv(const struct sk_buff *skb, int offset, int type);
struct in6_addr *fl6_update_dst(struct flowi6 *fl6,
const struct ipv6_txoptions *opt,