mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
deadlock fix in RemoveStaticRoute
This commit is contained in:
parent
279bc5e134
commit
b62013c24c
1 changed files with 0 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue