mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-21 12:28:39 +00:00
wgengine/router: fix ip rule restoration
Fixes #10857 Signed-off-by: Jason Barnett <J@sonBarnett.com>
This commit is contained in:
parent
52f16b5d10
commit
4d668416b8
@ -271,7 +271,7 @@ func (r *linuxRouter) onIPRuleDeleted(table uint8, priority uint32) {
|
||||
// Not our rule.
|
||||
return
|
||||
}
|
||||
if !r.ruleRestorePending.Swap(true) {
|
||||
if r.ruleRestorePending.Swap(true) {
|
||||
// Another timer is already pending.
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user