]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In ifc_alloc_unit():
authorglebius <glebius@FreeBSD.org>
Thu, 30 Aug 2012 12:18:45 +0000 (12:18 +0000)
committerglebius <glebius@FreeBSD.org>
Thu, 30 Aug 2012 12:18:45 +0000 (12:18 +0000)
commit165d5550eb3668154608da5722a38b550124ecfd
tree898efd58b30339f0d075dbd43521d36aaca78ab3
parentef55aebbf3b3f982030b8abd3f009d00561c2419
In ifc_alloc_unit():
- In the !wildcard case, return ENOSPC instead of confusing EEXIST
  in case if ifc->ifc_maxunit reached.
- Fix unit leak, that I've introduced in previous revision.

Submitted by: Daan Vreeken <Daan vitsch.nl>
sys/net/if_clone.c