浏览代码

Merge pull request #413 from pyakpyak/master

deadlock fix in RemoveStaticRoute
Jana Radhakrishnan 10 年之前
父节点
当前提交
787190b773
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      libnetwork/sandbox/route_linux.go

+ 0 - 1
libnetwork/sandbox/route_linux.go

@@ -177,7 +177,6 @@ func (n *networkNamespace) AddStaticRoute(r *types.StaticRoute) error {
 }
 
 func (n *networkNamespace) RemoveStaticRoute(r *types.StaticRoute) error {
-	n.Lock()
 
 	err := removeRoute(n.nsPath(), r.Destination, r.NextHop)
 	if err == nil {