]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Split out the {family,socktype}->netid conversion into a separate
authoriedowse <iedowse@FreeBSD.org>
Sun, 13 May 2001 00:07:03 +0000 (00:07 +0000)
committeriedowse <iedowse@FreeBSD.org>
Sun, 13 May 2001 00:07:03 +0000 (00:07 +0000)
commit0ed7ba54b3471331d3d3726dc8089f9fb2658d87
tree9085bc6a50d6fb1878aaf41061be21aac2c461db
parentf4c99b3d8ebdf658215a72230dd543f62e5f5d5f
- 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.
sbin/mount_nfs/mount_nfs.c