inet: constify ip headers and in6_addr
[deliverable/linux.git] / net / ipv6 / af_inet6.c
index 4b13d5d8890efede4ac855356d17b2e50e995e9c..b7919f901fbf76ce511313d39e638d69a18269ad 100644 (file)
@@ -740,7 +740,7 @@ static int ipv6_gso_pull_exthdrs(struct sk_buff *skb, int proto)
 
 static int ipv6_gso_send_check(struct sk_buff *skb)
 {
-       struct ipv6hdr *ipv6h;
+       const struct ipv6hdr *ipv6h;
        const struct inet6_protocol *ops;
        int err = -EINVAL;
 
@@ -1113,7 +1113,7 @@ static int __init inet6_init(void)
        /*
         *      ipngwg API draft makes clear that the correct semantics
         *      for TCP and UDP is to consider one TCP and UDP instance
-        *      in a host availiable by both INET and INET6 APIs and
+        *      in a host available by both INET and INET6 APIs and
         *      able to communicate via both network protocols.
         */
 
This page took 0.134243 seconds and 5 git commands to generate.