Searched refs:addrs_size (Results 1 – 1 of 1) sorted by relevance
/net/sctp/ |
D | socket.c | 885 int addrs_size, int op) in sctp_setsockopt_bindx() argument 896 " addrs_size %d opt %d\n", sk, addrs, addrs_size, op); in sctp_setsockopt_bindx() 898 if (unlikely(addrs_size <= 0)) in sctp_setsockopt_bindx() 902 if (unlikely(!access_ok(VERIFY_READ, addrs, addrs_size))) in sctp_setsockopt_bindx() 906 kaddrs = kmalloc(addrs_size, GFP_KERNEL); in sctp_setsockopt_bindx() 910 if (__copy_from_user(kaddrs, addrs, addrs_size)) { in sctp_setsockopt_bindx() 917 while (walk_size < addrs_size) { in sctp_setsockopt_bindx() 924 if (!af || (walk_size + af->sockaddr_len) > addrs_size) { in sctp_setsockopt_bindx() 967 int addrs_size, in __sctp_connect() argument 1003 while (walk_size < addrs_size) { in __sctp_connect() [all …]
|