mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 16:37:16 +08:00
Update to FreeBSD head 2016-12-10
Git mirror commit 80c55f08a05ab3b26a73b226ccb56adc3122a55c.
This commit is contained in:
@@ -1311,10 +1311,7 @@ in_pcbfree(struct inpcb *inp)
|
||||
if (inp->inp_moptions != NULL)
|
||||
inp_freemoptions(inp->inp_moptions);
|
||||
#endif
|
||||
if (inp->inp_route.ro_rt) {
|
||||
RTFREE(inp->inp_route.ro_rt);
|
||||
inp->inp_route.ro_rt = (struct rtentry *)NULL;
|
||||
}
|
||||
RO_RTFREE(&inp->inp_route);
|
||||
if (inp->inp_route.ro_lle)
|
||||
LLE_FREE(inp->inp_route.ro_lle); /* zeros ro_lle */
|
||||
|
||||
@@ -2254,10 +2251,7 @@ void
|
||||
in_losing(struct inpcb *inp)
|
||||
{
|
||||
|
||||
if (inp->inp_route.ro_rt) {
|
||||
RTFREE(inp->inp_route.ro_rt);
|
||||
inp->inp_route.ro_rt = (struct rtentry *)NULL;
|
||||
}
|
||||
RO_RTFREE(&inp->inp_route);
|
||||
if (inp->inp_route.ro_lle)
|
||||
LLE_FREE(inp->inp_route.ro_lle); /* zeros ro_lle */
|
||||
return;
|
||||
|
Reference in New Issue
Block a user