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:
Darren Reed 2004-06-29 03:39:06 +00:00
parent 5b201fdcaa
commit be134cb640

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();