Re: [ovs-dev] [bug4462 3/3] multipath: Validate multipath actions more thoroughly in multipath_parse().

2011-02-22 Thread Justin Pettit
Looks good. --Justin On Feb 22, 2011, at 4:28 PM, Ben Pfaff wrote: > The stricter validation requires updates to the calls to test-multipath > to supply a valid n_links value. test-multipath doesn't actually use > that value (it runs over different values in an internal "for" loop), so > this

Re: [ovs-dev] [bug4462 2/3] ofp-parse: Don't segfault when an OpenFlow action's argument is missing.

2011-02-22 Thread Justin Pettit
Looks good. Thanks for fixing Coverity issue #10712, too. :-) --Justin On Feb 22, 2011, at 4:28 PM, Ben Pfaff wrote: > Some actions checked that 'arg' was nonnull before attempting to parse it > but a lot of them didn't. This commit avoids the segfault by substituting > an empty string when

Re: [ovs-dev] [bug4462 1/3] nicira-ext: Fix comment.

2011-02-22 Thread Justin Pettit
Looks good. --Justin On Feb 22, 2011, at 4:28 PM, Ben Pfaff wrote: > Multipath actions only support registers as destinations, but this was > defined by reference in nicira-ext.h and the referenced text changed. > --- > include/openflow/nicira-ext.h |5 +++-- > 1 files changed, 3 insertions(

[ovs-dev] [coverity2 7/7] ovsdb-idl: Remove deadcode related to "reply" in ovsdb_idl_run().

2011-02-22 Thread Justin Pettit
Coverity #10705 --- lib/ovsdb-idl.c |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/lib/ovsdb-idl.c b/lib/ovsdb-idl.c index df5aff5..e7f19e4 100644 --- a/lib/ovsdb-idl.c +++ b/lib/ovsdb-idl.c @@ -282,7 +282,7 @@ ovsdb_idl_run(struct ovsdb_idl *idl) assert(!idl->t

[ovs-dev] [coverity2 6/7] nx-match: Don't fall through case when handling dest mcast mac addresses.

2011-02-22 Thread Justin Pettit
When an NXM wildcard entry that includes a multicast address is parsed, it would fall through to the next case statement, which would also set an inappropriate source mac address match. Coverity #10717 --- lib/nx-match.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/li

[ovs-dev] [coverity2 1/7] table: Free "error" in cell_to_text().

2011-02-22 Thread Justin Pettit
Coverity #10722 --- lib/table.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/table.c b/lib/table.c index 86366d0..a503bcc 100644 --- a/lib/table.c +++ b/lib/table.c @@ -55,6 +55,7 @@ cell_to_text(struct cell *cell, const struct table_style *style)

[ovs-dev] [coverity2 4/7] test-ovsdb: Don't leak return value from ovsdb_txn_commit().

2011-02-22 Thread Justin Pettit
Coverity #10727 --- tests/test-ovsdb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/test-ovsdb.c b/tests/test-ovsdb.c index aca68dc..40d8a8d 100644 --- a/tests/test-ovsdb.c +++ b/tests/test-ovsdb.c @@ -1344,7 +1344,7 @@ static struct ovsdb_table *do_transact_tabl

[ovs-dev] [coverity2 2/7] netdev-linux: Zero-out "sin" in netdev_linux_arp_lookup().

2011-02-22 Thread Justin Pettit
Coverity complains that we're copying the unitialized "sin_zero" member from "sin" into "r". I don't think this is an actual problem, but there's no harm in zeroing out the structure, either. Coverity #10916 --- lib/netdev-linux.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff

[ovs-dev] [coverity2 3/7] ovs-vsctl: Free "columns" in cmd_find().

2011-02-22 Thread Justin Pettit
Coverity #10730 --- utilities/ovs-vsctl.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c index 9fca1c8..7ae45f5 100644 --- a/utilities/ovs-vsctl.c +++ b/utilities/ovs-vsctl.c @@ -2869,6 +2869,7 @@ cmd_find(struct vsctl_context

[ovs-dev] [coverity2 0/7] More Coverity Fixes

2011-02-22 Thread Justin Pettit
Here are some additional fixes for issues that Coverity flagged. With this series, the remaining issues Coverity marks as "High Impact" that appear to me to be real are addressed.* This also addresses most of the issues that Coverity marks as "Medium Impact" that looked real to me, but there are

[ovs-dev] [coverity2 5/7] ovsdb-tool: Close "log" in do_show_log().

2011-02-22 Thread Justin Pettit
Coverity #10726 --- ovsdb/ovsdb-tool.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ovsdb/ovsdb-tool.c b/ovsdb/ovsdb-tool.c index 4f55b6a..2754909 100644 --- a/ovsdb/ovsdb-tool.c +++ b/ovsdb/ovsdb-tool.c @@ -459,6 +459,7 @@ do_show_log(int argc OVS_UNUSED, char *argv[])

Re: [ovs-dev] [PATCH] ovs-vsctl: --bootstrap only has an effect if the ca cert is missing.

2011-02-22 Thread Justin Pettit
Looks good to me. --Justin On Feb 22, 2011, at 4:58 PM, Ben Pfaff wrote: > Someone (I can't remember who) asked me about this a while ago. I hope > this clarifies. > --- > utilities/ovs-vsctl.8.in |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/utilities/ovs-vsc

[ovs-dev] [PATCH] ovs-vsctl: --bootstrap only has an effect if the ca cert is missing.

2011-02-22 Thread Ben Pfaff
Someone (I can't remember who) asked me about this a while ago. I hope this clarifies. --- utilities/ovs-vsctl.8.in |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/utilities/ovs-vsctl.8.in b/utilities/ovs-vsctl.8.in index 94e0c7c..c0143c7 100644 --- a/utilities/ovs-vsct

Re: [ovs-dev] [PATCH] configure: Reject incompatible XenServer version.

2011-02-22 Thread Ben Pfaff
On Tue, Feb 22, 2011 at 03:48:32PM -0800, Andrew Evans wrote: > On 2/22/11 2:47 PM, Ben Pfaff wrote: > > Suggested-by: Andrew Evans > > --- > > acinclude.m4 | 26 ++ > > configure.ac |1 + > > 2 files changed, 27 insertions(+), 0 deletions(-) > > Looks good to me. T

Re: [ovs-dev] [strings 3/3] util: New function ovs_strzcpy().

2011-02-22 Thread Ben Pfaff
I'll do that. On Tue, Feb 22, 2011 at 04:25:14PM -0800, Justin Pettit wrote: > Thanks for doing this. The series looks good to me. Did you want to > include the Coverity bug numbers that this addresses > (10697,10696,10695,10694,10693,10692,10691,10690)? > > --Justin > > > On Feb 22, 2011, at

[ovs-dev] [bug4462 3/3] multipath: Validate multipath actions more thoroughly in multipath_parse().

2011-02-22 Thread Ben Pfaff
The stricter validation requires updates to the calls to test-multipath to supply a valid n_links value. test-multipath doesn't actually use that value (it runs over different values in an internal "for" loop), so this doesn't change any behavior. Also adds a test to exercise each possible multip

[ovs-dev] [bug4462 1/3] nicira-ext: Fix comment.

2011-02-22 Thread Ben Pfaff
Multipath actions only support registers as destinations, but this was defined by reference in nicira-ext.h and the referenced text changed. --- include/openflow/nicira-ext.h |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/openflow/nicira-ext.h b/include/openfl

[ovs-dev] [bug4462 2/3] ofp-parse: Don't segfault when an OpenFlow action's argument is missing.

2011-02-22 Thread Ben Pfaff
Some actions checked that 'arg' was nonnull before attempting to parse it but a lot of them didn't. This commit avoids the segfault by substituting an empty string when no argument is given. It also updates a few of the action implementations to correspond. Reported-by: Reid Price Bug #4462. --

Re: [ovs-dev] [strings 3/3] util: New function ovs_strzcpy().

2011-02-22 Thread Justin Pettit
Thanks for doing this. The series looks good to me. Did you want to include the Coverity bug numbers that this addresses (10697,10696,10695,10694,10693,10692,10691,10690)? --Justin On Feb 22, 2011, at 11:01 AM, Ben Pfaff wrote: > Static analyzers hate strncpy(). This new function shares it

Re: [ovs-dev] [PATCH] configure: Reject incompatible XenServer version.

2011-02-22 Thread Andrew Evans
On 2/22/11 2:47 PM, Ben Pfaff wrote: > Suggested-by: Andrew Evans > --- > acinclude.m4 | 26 ++ > configure.ac |1 + > 2 files changed, 27 insertions(+), 0 deletions(-) Looks good to me. Thanks for implementing this. -Andrew ___

[ovs-dev] [PATCH] configure: Reject incompatible XenServer version.

2011-02-22 Thread Ben Pfaff
Suggested-by: Andrew Evans --- acinclude.m4 | 26 ++ configure.ac |1 + 2 files changed, 27 insertions(+), 0 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 6a829d5..e2bd2c6 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -306,3 +306,29 @@ AC_DEFUN([OVS_

Re: [ovs-dev] vlan_deaccel_tag() and checksum

2011-02-22 Thread Ben Pfaff
On Tue, Feb 22, 2011 at 02:13:06PM -0800, Jesse Gross wrote: > On Thu, Feb 17, 2011 at 10:44 AM, Ben Pfaff wrote: > > It seems to me that vlan_deaccel_tag() needs to increase csum_start by > > 4 in the CHECKSUM_PARTIAL case, something like this following.  I > > don't see anything like this in the

Re: [ovs-dev] [PATCH] datapath: Properly initialize ovs_skb_cb of packet from userspace.

2011-02-22 Thread Ben Pfaff
On Tue, Feb 22, 2011 at 02:33:13PM -0800, Jesse Gross wrote: > On Fri, Feb 18, 2011 at 4:10 PM, Ben Pfaff wrote: > > diff --git a/datapath/datapath.c b/datapath/datapath.c > > index 940a581..dcff05f 100644 > > --- a/datapath/datapath.c > > +++ b/datapath/datapath.c > > @@ -709,6 +709,15 @@ static

Re: [ovs-dev] [PATCH] datapath: Properly initialize ovs_skb_cb of packet from userspace.

2011-02-22 Thread Jesse Gross
On Fri, Feb 18, 2011 at 4:10 PM, Ben Pfaff wrote: > diff --git a/datapath/datapath.c b/datapath/datapath.c > index 940a581..dcff05f 100644 > --- a/datapath/datapath.c > +++ b/datapath/datapath.c > @@ -709,6 +709,15 @@ static int odp_packet_cmd_execute(struct sk_buff *skb, > struct genl_info *info

Re: [ovs-dev] vlan_deaccel_tag() and checksum

2011-02-22 Thread Jesse Gross
On Thu, Feb 17, 2011 at 10:44 AM, Ben Pfaff wrote: > It seems to me that vlan_deaccel_tag() needs to increase csum_start by > 4 in the CHECKSUM_PARTIAL case, something like this following.  I > don't see anything like this in the other callers of __vlan_put_tag(), > but it looks like most of those

[ovs-dev] [bug 4566 2/2] ovs-ofctl: Implement documented semantics of --flow-format for flow_mods.

2011-02-22 Thread Ben Pfaff
Also adds a test and moves some code around in tests/ to make sure that OFPROTO_START and OFPROTO_STOP are available in tests/ovs-ofctl.at. Reported-by: Michael Mao Bug #4566. --- tests/automake.mk |1 + tests/ofproto-macros.at | 16 tests/ofproto.at| 17 --

[ovs-dev] [bug 4566 1/2] ofp-util: Make NXM required for 64-bit cookies in is_nxm_required().

2011-02-22 Thread Ben Pfaff
Only NXM supports 64-bit cookies, but this code didn't properly check for that. This commit fixes the problem and makes the code much more explicit about what it is checking. This will hide bug #4566, but the following commit actually fixes it. --- lib/ofp-util.c | 23 +--

Re: [ovs-dev] [strings 0/3] Improve string-handling safety

2011-02-22 Thread Ethan Jackson
Oh I didn't realize the connection. I don't mind not reviewing it. Ethan On Tue, Feb 22, 2011 at 11:09 AM, Ben Pfaff wrote: > I was assuming that Justin would want to take a look, since it's > essentially a counterproposal to some of his patches from the coverity > series. > > On Tue, Feb 22, 2

Re: [ovs-dev] [strings 0/3] Improve string-handling safety

2011-02-22 Thread Ben Pfaff
I was assuming that Justin would want to take a look, since it's essentially a counterproposal to some of his patches from the coverity series. On Tue, Feb 22, 2011 at 11:04:20AM -0800, Ethan Jackson wrote: > I'll review this series. > > Ethan > > On Tue, Feb 22, 2011 at 11:01 AM, Ben Pfaff wro

Re: [ovs-dev] [strings 0/3] Improve string-handling safety

2011-02-22 Thread Ethan Jackson
I'll review this series. Ethan On Tue, Feb 22, 2011 at 11:01 AM, Ben Pfaff wrote: > This series of patches improves the safety of string handling in > Open vSwitch.  I don't think that it actually fixes any real bugs, > but it removes all references to strncpy() from the source code, > which mak

[ovs-dev] [strings 3/3] util: New function ovs_strzcpy().

2011-02-22 Thread Ben Pfaff
Static analyzers hate strncpy(). This new function shares its property of initializing an entire buffer, without its nasty habit of failing to null-terminate long strings. --- lib/automake.mk|1 + lib/netdev-linux.c | 16 lib/socket-util.c |3 +-- lib/util.c

[ovs-dev] [strings 0/3] Improve string-handling safety

2011-02-22 Thread Ben Pfaff
This series of patches improves the safety of string handling in Open vSwitch. I don't think that it actually fixes any real bugs, but it removes all references to strncpy() from the source code, which makes people and static checkers happier. Ben Pfaff (3): string: Implement strnlen() if it is

[ovs-dev] [strings 2/3] util: Don't read over 'size - 1' bytes of source string in ovs_strlcpy().

2011-02-22 Thread Ben Pfaff
The blind replacement of strncpy() by ovs_strlcpy() is risky because strncpy() never reads more bytes from its source string than necessary to write its destination string, but ovs_strlcpy() and the OpenBSD function that inspired it both read the entire source string. This avoids that problem. Gi

[ovs-dev] [strings 1/3] string: Implement strnlen() if it is missing.

2011-02-22 Thread Ben Pfaff
--- configure.ac |2 +- lib/{string.h => string.c} | 26 ++ lib/string.h |8 +++- 3 files changed, 18 insertions(+), 18 deletions(-) copy lib/{string.h => string.c} (50%) diff --git a/configure.ac b/configure.ac index 28af2fe..47d

Re: [ovs-dev] [coverity 14/14] vconn: Fix comparison that should be assignment in vconn_open_block().

2011-02-22 Thread Justin Pettit
On Feb 22, 2011, at 10:01 AM, Ben Pfaff wrote: > On Mon, Feb 21, 2011 at 05:44:57PM -0800, Justin Pettit wrote: >> Coverity #10702 > > Wow, another good catch. > > Thanks, this looks good. I held back the two strncpy commits to think about further, and then pushed with the changes I already me

Re: [ovs-dev] [coverity 14/14] vconn: Fix comparison that should be assignment in vconn_open_block().

2011-02-22 Thread Ben Pfaff
On Mon, Feb 21, 2011 at 05:44:57PM -0800, Justin Pettit wrote: > Coverity #10702 Wow, another good catch. Thanks, this looks good. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev_openvswitch.org

Re: [ovs-dev] [coverity 13/14] ovs-vsctl: Check "key" is valid before dereferencing in get_external_id().

2011-02-22 Thread Ben Pfaff
On Mon, Feb 21, 2011 at 05:44:56PM -0800, Justin Pettit wrote: > Coverity #10716 Ouch. Good catch, Coverity. Thanks, this looks good. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev_openvswitch.org

Re: [ovs-dev] [coverity 12/14] ovsdb: Don't check "date" before assignment in ovsdb_file_txn_from_json().

2011-02-22 Thread Ben Pfaff
On Mon, Feb 21, 2011 at 05:44:55PM -0800, Justin Pettit wrote: > There's no indication that "date" is optional in the description of > ovsdb_file_txn_from_json(), and the one caller always passes it in, so > don't bother checking whether it exists. > > Coverity #10732 Looks good, thanks. Coverit

Re: [ovs-dev] [coverity 10/14] netdev-linux: Use ovs_strlcpy() instead of improper strncpy().

2011-02-22 Thread Ben Pfaff
On Tue, Feb 22, 2011 at 09:48:01AM -0800, Justin Pettit wrote: > On Feb 22, 2011, at 9:43 AM, Ben Pfaff wrote: > > > On Mon, Feb 21, 2011 at 05:44:53PM -0800, Justin Pettit wrote: > >> Coverity #10697,10696,10695,10694,10693,10692,10691,10690 > > > > I'd prefer to use strncpy() here instead of ov

Re: [ovs-dev] [coverity 11/14] lib: Replace remaining unsafe strncpy()s with ovs_strlcpy().

2011-02-22 Thread Ben Pfaff
On Mon, Feb 21, 2011 at 05:44:54PM -0800, Justin Pettit wrote: > --- a/lib/ofp-print.c > +++ b/lib/ofp-print.c > @@ -1315,7 +1315,7 @@ ofp_print_ofpst_table_reply(struct ds *string, const > struct ofp_header *oh, > > for (; n--; ts++) { > char name[OFP_MAX_TABLE_NAME_LEN + 1]; > -

Re: [ovs-dev] [coverity 10/14] netdev-linux: Use ovs_strlcpy() instead of improper strncpy().

2011-02-22 Thread Justin Pettit
On Feb 22, 2011, at 9:43 AM, Ben Pfaff wrote: > On Mon, Feb 21, 2011 at 05:44:53PM -0800, Justin Pettit wrote: >> Coverity #10697,10696,10695,10694,10693,10692,10691,10690 > > I'd prefer to use strncpy() here instead of ovs_strlcpy() because the > former initializes every byte in the buffer. If

Re: [ovs-dev] [coverity 10/14] netdev-linux: Use ovs_strlcpy() instead of improper strncpy().

2011-02-22 Thread Ben Pfaff
On Mon, Feb 21, 2011 at 05:44:53PM -0800, Justin Pettit wrote: > Coverity #10697,10696,10695,10694,10693,10692,10691,10690 I'd prefer to use strncpy() here instead of ovs_strlcpy() because the former initializes every byte in the buffer. If we don't do that then I imagine we will get some complai

Re: [ovs-dev] [coverity 08/14] ovsdb: Free "error" string in ovsdb_execute_insert().

2011-02-22 Thread Justin Pettit
On Feb 22, 2011, at 9:37 AM, Ben Pfaff wrote: > On Mon, Feb 21, 2011 at 05:44:51PM -0800, Justin Pettit wrote: >> Coverity #10723 > > This is the right idea but the correct fix is to use > ovsdb_error_destroy(). Argh. I thought I had caught my errors doing that. Fixed. --Justin ___

Re: [ovs-dev] [coverity 09/14] socket-util: Free strings in make_sockaddr_un() error handling.

2011-02-22 Thread Ben Pfaff
On Mon, Feb 21, 2011 at 05:44:52PM -0800, Justin Pettit wrote: > Coverity #10721,10720 Looks good, thank you. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev_openvswitch.org

Re: [ovs-dev] [coverity 08/14] ovsdb: Free "error" string in ovsdb_execute_insert().

2011-02-22 Thread Ben Pfaff
On Mon, Feb 21, 2011 at 05:44:51PM -0800, Justin Pettit wrote: > Coverity #10723 This is the right idea but the correct fix is to use ovsdb_error_destroy(). Thanks, Ben. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/

Re: [ovs-dev] [coverity 02/14] leak-checker: Fix warning about use after free in hook_free().

2011-02-22 Thread Justin Pettit
On Feb 22, 2011, at 9:30 AM, Ben Pfaff wrote: > On Mon, Feb 21, 2011 at 05:44:45PM -0800, Justin Pettit wrote: >> Coverity complains of a use after free error in hook_free(). Since this >> is only printing the pointer address it should be fine, but at the very >> least it looks odd. >> >> Coveri

Re: [ovs-dev] [coverity 07/14] daemon: Fix leak of string in make_pidfile().

2011-02-22 Thread Ben Pfaff
On Mon, Feb 21, 2011 at 05:44:50PM -0800, Justin Pettit wrote: > Coverity #10724 Looks good, thank you. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev_openvswitch.org

Re: [ovs-dev] [coverity 06/14] ovsdb-data: Free string leaked in ovsdb_datum_from_string().

2011-02-22 Thread Ben Pfaff
On Mon, Feb 21, 2011 at 05:44:49PM -0800, Justin Pettit wrote: > Coverity #10725 Looks good, thank you. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev_openvswitch.org

Re: [ovs-dev] [coverity 05/14] discovery: Free "buffer" in discovery_set_accept_controller_re().

2011-02-22 Thread Ben Pfaff
On Mon, Feb 21, 2011 at 05:44:48PM -0800, Justin Pettit wrote: > Coverity #10728 Looks good, thank you. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev_openvswitch.org

Re: [ovs-dev] [coverity 04/14] ofproto: Free "controller_name" in ofconn_run().

2011-02-22 Thread Ben Pfaff
On Mon, Feb 21, 2011 at 05:44:47PM -0800, Justin Pettit wrote: > Coverity #10729 Looks good, thank you. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev_openvswitch.org

Re: [ovs-dev] [PATCH] jsonrpc.py: Import "ovs.json".

2011-02-22 Thread Justin Pettit
On Feb 22, 2011, at 7:36 AM, Ben Pfaff wrote: > On Mon, Feb 21, 2011 at 11:57 PM, Justin Pettit wrote: >> +import ovs.json > > Looks fine to me, thanks Justin and Giuseppe. Thanks, I pushed it. --Justin ___ dev mailing list dev@openvswitch.org ht

Re: [ovs-dev] [coverity 03/14] ovs-brcompatd: Fix memory leak in handle_fdb_query_cmd().

2011-02-22 Thread Ben Pfaff
On Mon, Feb 21, 2011 at 05:44:46PM -0800, Justin Pettit wrote: > Coverity #10731 Looks good, thank you. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev_openvswitch.org

Re: [ovs-dev] [coverity 02/14] leak-checker: Fix warning about use after free in hook_free().

2011-02-22 Thread Ben Pfaff
On Mon, Feb 21, 2011 at 05:44:45PM -0800, Justin Pettit wrote: > Coverity complains of a use after free error in hook_free(). Since this > is only printing the pointer address it should be fine, but at the very > least it looks odd. > > Coverity #11069 Applying this patch will break the leak che

Re: [ovs-dev] [coverity 01/14] ovsdb: Fix double free in ovsdb_file_open_log().

2011-02-22 Thread Ben Pfaff
On Mon, Feb 21, 2011 at 05:44:44PM -0800, Justin Pettit wrote: > Coverity #11066 Looks good, thank you. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev_openvswitch.org

Re: [ovs-dev] [PATCH] jsonrpc.py: Import "ovs.json".

2011-02-22 Thread Ben Pfaff
On Mon, Feb 21, 2011 at 11:57 PM, Justin Pettit wrote: > +import ovs.json Looks fine to me, thanks Justin and Giuseppe. -- "I don't normally do acked-by's.  I think it's my way of avoiding getting blamed when it all blows up."               Andrew Morton

Re: [ovs-dev] I think I found a bug

2011-02-22 Thread Justin Pettit
In my opinion, we should remove that requirement from OpenFlow that exact match rules always have the highest priority. It sounds like it's already been removed in OpenFlow 1.1. Unfortunately, we're kind of stuck in OpenFlow 1.0, since I know controllers are written to expect that behavior. -