]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/ipv6/af_inet6.c
Merge tag 'v2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[mv-sheeva.git] / net / ipv6 / af_inet6.c
index 54e8e42f7a88ad675aae5fb4782d6ce36d9a4ba9..978e80e2c4a8a08e7731150d2a43a42fe9827e68 100644 (file)
@@ -300,7 +300,7 @@ int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
                        goto out;
                }
 
-               /* Reproduce AF_INET checks to make the bindings consitant */
+               /* Reproduce AF_INET checks to make the bindings consistent */
                v4addr = addr->sin6_addr.s6_addr32[3];
                chk_addr_ret = inet_addr_type(net, v4addr);
                if (!sysctl_ip_nonlocal_bind &&
@@ -810,7 +810,7 @@ static struct sk_buff *ipv6_gso_segment(struct sk_buff *skb, int features)
        }
        rcu_read_unlock();
 
-       if (unlikely(IS_ERR(segs)))
+       if (IS_ERR(segs))
                goto out;
 
        for (skb = segs; skb; skb = skb->next) {