Searched refs:addrs_size (Results 1 – 1 of 1) sorted by relevance
/linux-2.4.37.9/net/sctp/ |
D | socket.c | 819 int addrs_size, int op) in sctp_setsockopt_bindx() argument 830 " addrs_size %d opt %d\n", sk, addrs, addrs_size, op); in sctp_setsockopt_bindx() 832 if (unlikely(addrs_size <= 0)) in sctp_setsockopt_bindx() 836 if (unlikely(!access_ok(VERIFY_READ, addrs, addrs_size))) in sctp_setsockopt_bindx() 840 kaddrs = (struct sockaddr *)kmalloc(addrs_size, GFP_KERNEL); in sctp_setsockopt_bindx() 844 if (__copy_from_user(kaddrs, addrs, addrs_size)) { in sctp_setsockopt_bindx() 851 while (walk_size < addrs_size) { in sctp_setsockopt_bindx() 858 if (!af || (walk_size + af->sockaddr_len) > addrs_size) { in sctp_setsockopt_bindx()
|