Merge pull request #861 from sanimej/bugs

EP lock shouldn't be held when trying for network lock
This commit is contained in:
Madhu Venugopal 2016-01-12 11:08:09 -08:00
commit 8f4d7a1cf1

View file

@ -720,8 +720,8 @@ func (ep *endpoint) deleteEndpoint() error {
}
func (ep *endpoint) getSandbox() (*sandbox, bool) {
ep.Lock()
c := ep.network.getController()
ep.Lock()
sid := ep.sandboxID
ep.Unlock()