git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Don't send OpenFlow flow expirations hidden rules.
[sliver-openvswitch.git]
/
secchan
/
ofproto.c
diff --git
a/secchan/ofproto.c
b/secchan/ofproto.c
index
be1f5de
..
a34120e
100644
(file)
--- a/
secchan/ofproto.c
+++ b/
secchan/ofproto.c
@@
-3317,9
+3317,11
@@
expire_rule(struct cls_rule *cls_rule, void *p_)
rule_uninstall(p, rule);
}
rule_uninstall(p, rule);
}
- send_flow_exp(p, rule, now,
- (now >= hard_expire
- ? OFPER_HARD_TIMEOUT : OFPER_IDLE_TIMEOUT));
+ if (!rule_is_hidden(rule)) {
+ send_flow_exp(p, rule, now,
+ (now >= hard_expire
+ ? OFPER_HARD_TIMEOUT : OFPER_IDLE_TIMEOUT));
+ }
rule_remove(p, rule);
}
rule_remove(p, rule);
}