projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff2765f
)
in-band: Really reinstall in-band rules in in_band_flushed().
author
Ben Pfaff
<blp@nicira.com>
Tue, 20 Apr 2010 20:39:35 +0000
(13:39 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 20 Apr 2010 20:39:35 +0000
(13:39 -0700)
ofproto/in-band.c
patch
|
blob
|
history
diff --git
a/ofproto/in-band.c
b/ofproto/in-band.c
index aa522de2713c7b0b3e199953281652a1821849d8..85cc034d1ceca6f787ef6f449375d6d3db2ca5cc 100644
(file)
--- a/
ofproto/in-band.c
+++ b/
ofproto/in-band.c
@@
-740,10
+740,12
@@
in_band_wait(struct in_band *in_band)
}
}
+/* ofproto has flushed all flows from the flow table and it is calling us back
+ * to allow us to reinstall the ones that are important to us. */
void
in_band_flushed(struct in_band *in_band)
{
-
clear
_rules(in_band);
+
add
_rules(in_band);
}
int