Lines Matching refs:kaddrs
821 struct sockaddr *kaddrs; in sctp_setsockopt_bindx() local
840 kaddrs = (struct sockaddr *)kmalloc(addrs_size, GFP_KERNEL); in sctp_setsockopt_bindx()
841 if (unlikely(!kaddrs)) in sctp_setsockopt_bindx()
844 if (__copy_from_user(kaddrs, addrs, addrs_size)) { in sctp_setsockopt_bindx()
845 kfree(kaddrs); in sctp_setsockopt_bindx()
850 addr_buf = kaddrs; in sctp_setsockopt_bindx()
859 kfree(kaddrs); in sctp_setsockopt_bindx()
870 err = sctp_bindx_add(sk, kaddrs, addrcnt); in sctp_setsockopt_bindx()
873 err = sctp_send_asconf_add_ip(sk, kaddrs, addrcnt); in sctp_setsockopt_bindx()
877 err = sctp_bindx_rem(sk, kaddrs, addrcnt); in sctp_setsockopt_bindx()
880 err = sctp_send_asconf_del_ip(sk, kaddrs, addrcnt); in sctp_setsockopt_bindx()
889 kfree(kaddrs); in sctp_setsockopt_bindx()