HomeFreeBSD

- Split out the {family,socktype}->netid conversion into a separate

Description

  • Split out the {family,socktype}->netid conversion into a separate function; we now handle unknown protocols more gracefully.
  • Cache the return from getnetconfigent() so that we don't have to remember to call freenetconfigent() each time. This fixes a memory leak that would cause retrying background mount_nfs processes to slowly increase their memory usage.

Details

Provenance
Ian Dowse <iedowse@FreeBSD.org>Authored on May 13 2001, 12:07 AM
Parents
rG336f51412c10: Update makefile to reflect vlan support.
Branches
Unknown
Tags
Unknown

Event Timeline