Home
last modified time | relevance | path

Searched refs:new_ra (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/net/ipv6/
Dipv6_sockglue.c82 struct ip6_ra_chain *ra, *new_ra, **rap; in ip6_ra_control() local
88 new_ra = (sel>=0) ? kmalloc(sizeof(*new_ra), GFP_KERNEL) : NULL; in ip6_ra_control()
95 if (new_ra) in ip6_ra_control()
96 kfree(new_ra); in ip6_ra_control()
110 if (new_ra == NULL) { in ip6_ra_control()
114 new_ra->sk = sk; in ip6_ra_control()
115 new_ra->sel = sel; in ip6_ra_control()
116 new_ra->destructor = destructor; in ip6_ra_control()
117 new_ra->next = ra; in ip6_ra_control()
118 *rap = new_ra; in ip6_ra_control()
/linux-2.4.37.9/net/ipv4/
Dip_sockglue.c190 struct ip_ra_chain *ra, *new_ra, **rap; in ip_ra_control() local
195 new_ra = on ? kmalloc(sizeof(*new_ra), GFP_KERNEL) : NULL; in ip_ra_control()
202 if (new_ra) in ip_ra_control()
203 kfree(new_ra); in ip_ra_control()
216 if (new_ra == NULL) { in ip_ra_control()
220 new_ra->sk = sk; in ip_ra_control()
221 new_ra->destructor = destructor; in ip_ra_control()
223 new_ra->next = ra; in ip_ra_control()
224 *rap = new_ra; in ip_ra_control()