Mess from update & merge - don't release the ifnet lock twice, just once

and after we're finished with it.
This commit is contained in:
darrenr 2004-06-29 03:39:06 +00:00
parent 87fa6f8535
commit d82c378cea

View File

@ -2155,9 +2155,6 @@ void frsync()
ip_natsync(ifp);
ip_statesync(ifp);
}
# if defined(__FreeBSD_version) && (__FreeBSD_version >= 500043)
IFNET_RUNLOCK();
# endif
ip_natsync((struct ifnet *)-1);
# if defined(__FreeBSD_version) && (__FreeBSD_version >= 500043)
IFNET_RUNLOCK();