diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2003-11-28 04:19:41 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2003-11-28 04:19:41 +0000 |
| commit | fdc21d0d1e4216d0c77c05db987e54c8237fe0f6 (patch) | |
| tree | 3132b7663e3a2b8a57d57452506fc37105c9185a /sys | |
| parent | 151035603507e09c57f67d0c6b551fdf2941d198 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/netatalk/at_control.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/netatalk/at_control.c b/sys/netatalk/at_control.c index d7e7586b648a..866df0415470 100644 --- a/sys/netatalk/at_control.c +++ b/sys/netatalk/at_control.c @@ -273,12 +273,6 @@ at_control(struct socket *so, u_long cmd, caddr_t data, TAILQ_REMOVE(&ifp->if_addrhead, ifa0, ifa_link); /* - * refs goes from 1->0 if no external refs. note.. - * This will not free it ... looks for -1. - */ - IFAFREE(ifa0); - - /* * Now remove the at_ifaddr from the parallel structure * as well, or we'd be in deep trouble */ @@ -301,11 +295,7 @@ at_control(struct socket *so, u_long cmd, caddr_t data, } /* - * Now dump the memory we were using. - * Decrement the reference count. - * This should probably be the last reference - * as the count will go from 0 to -1. - * (unless there is still a route referencing this) + * Now reclaim the reference. */ IFAFREE(ifa0); break; |
