]> git.hungrycats.org Git - linux/commitdiff
[IPV6]: Make ipv6_skip_exthdrs take const skb arg.
authorDavid S. Miller <davem@nuts.davemloft.net>
Fri, 20 Feb 2004 02:10:16 +0000 (18:10 -0800)
committerDavid S. Miller <davem@nuts.davemloft.net>
Fri, 20 Feb 2004 02:10:16 +0000 (18:10 -0800)
include/net/ipv6.h
net/ipv6/exthdrs.c

index 96319fad283a48450fe755441123c7c4be1e81dd..6ebdb4b25922231202893d9f6eb020db37acd678 100644 (file)
@@ -380,7 +380,7 @@ extern void                 ipv6_push_frag_opts(struct sk_buff *skb,
                                                    struct ipv6_txoptions *opt,
                                                    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);
 
 extern int                     ipv6_ext_hdr(u8 nexthdr);
index 5335b9ff02b713ef26b0828a95554d8af5aff1b4..b30b42fced2097cab1fda821abd0ce2dd69cb9e9 100644 (file)
@@ -694,7 +694,7 @@ int ipv6_ext_hdr(u8 nexthdr)
  * --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;