Searched refs:new_ra (Results 1 – 2 of 2) sorted by relevance
64 struct ip6_ra_chain *ra, *new_ra, **rap; in ip6_ra_control() local70 new_ra = (sel>=0) ? kmalloc(sizeof(*new_ra), GFP_KERNEL) : NULL; in ip6_ra_control()77 kfree(new_ra); in ip6_ra_control()89 if (new_ra == NULL) { in ip6_ra_control()93 new_ra->sk = sk; in ip6_ra_control()94 new_ra->sel = sel; in ip6_ra_control()95 new_ra->next = ra; in ip6_ra_control()96 *rap = new_ra; in ip6_ra_control()
243 struct ip_ra_chain *ra, *new_ra, **rap; in ip_ra_control() local248 new_ra = on ? kmalloc(sizeof(*new_ra), GFP_KERNEL) : NULL; in ip_ra_control()255 kfree(new_ra); in ip_ra_control()268 if (new_ra == NULL) { in ip_ra_control()272 new_ra->sk = sk; in ip_ra_control()273 new_ra->destructor = destructor; in ip_ra_control()275 new_ra->next = ra; in ip_ra_control()276 *rap = new_ra; in ip_ra_control()