~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to net/ipv6/af_inet6.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
272
272
 
273
273
        if (addr_len < SIN6_LEN_RFC2133)
274
274
                return -EINVAL;
 
275
 
 
276
        if (addr->sin6_family != AF_INET6)
 
277
                return -EAFNOSUPPORT;
 
278
 
275
279
        addr_type = ipv6_addr_type(&addr->sin6_addr);
276
280
        if ((addr_type & IPV6_ADDR_MULTICAST) && sock->type == SOCK_STREAM)
277
281
                return -EINVAL;
740
744
 
741
745
static int ipv6_gso_send_check(struct sk_buff *skb)
742
746
{
743
 
        struct ipv6hdr *ipv6h;
 
747
        const struct ipv6hdr *ipv6h;
744
748
        const struct inet6_protocol *ops;
745
749
        int err = -EINVAL;
746
750
 
1074
1078
                goto out;
1075
1079
        }
1076
1080
 
 
1081
        initialize_hashidentrnd();
 
1082
 
1077
1083
        err = proto_register(&tcpv6_prot, 1);
1078
1084
        if (err)
1079
1085
                goto out;