diff options
Diffstat (limited to 'server/fsm.go')
-rw-r--r-- | server/fsm.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/fsm.go b/server/fsm.go index 780a2b32..5ac3e6a2 100644 --- a/server/fsm.go +++ b/server/fsm.go @@ -657,7 +657,6 @@ func (h *FSMHandler) recvMessageWithError() (*FsmMsg, error) { if err == nil { fmsg.PathList = table.ProcessMessage(m, h.fsm.peerInfo, fmsg.timestamp) id := h.fsm.pConf.Config.NeighborAddress - policyMutex.RLock() for _, path := range fmsg.PathList { if path.IsEOR() { continue @@ -666,7 +665,6 @@ func (h *FSMHandler) recvMessageWithError() (*FsmMsg, error) { path.Filter(id, table.POLICY_DIRECTION_IN) } } - policyMutex.RUnlock() } else { fmsg.MsgData = err } |