diff options
author | wanghonghao <wanghonghao@bytedance.com> | 2018-09-18 20:55:39 +0800 |
---|---|---|
committer | wanghonghao <wanghonghao@bytedance.com> | 2018-09-18 20:55:39 +0800 |
commit | 98d4679e316431fae6ba429e21278049a65f969a (patch) | |
tree | 3667b7251e6864b14b6402243c4aff8ef9d5f8d4 /pkg/server/fsm.go | |
parent | 70d3ddfd662d9c100b37b9875de1c0c256699931 (diff) |
fsm: get rid of dead lock
Diffstat (limited to 'pkg/server/fsm.go')
-rw-r--r-- | pkg/server/fsm.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/server/fsm.go b/pkg/server/fsm.go index f2640642..8496d3b3 100644 --- a/pkg/server/fsm.go +++ b/pkg/server/fsm.go @@ -1349,6 +1349,7 @@ func (h *FSMHandler) opensent() (bgp.FSMState, *FsmStateReason) { }).Warn("restart flag is not set") // send notification? h.conn.Close() + fsm.lock.Unlock() return bgp.BGP_FSM_IDLE, NewFsmStateReason(FSM_INVALID_MSG, nil, nil) } |