Merge commit 'origin/citrix'
authorJustin Pettit <jpettit@nicira.com>
Tue, 25 Aug 2009 20:23:11 +0000 (13:23 -0700)
committerJustin Pettit <jpettit@nicira.com>
Tue, 25 Aug 2009 20:23:11 +0000 (13:23 -0700)
datapath/datapath.c
ofproto/netflow.c
xenserver/opt_xensource_libexec_interface-reconfigure

index ab993f6..e0b03d9 100644 (file)
@@ -857,7 +857,7 @@ retry:
        bucket = dp_table_lookup_for_insert(table, &uf.flow.key);
        if (!bucket) {
                /* No such flow, and the slots where it could go are full. */
-               error = uf.flags & ODPPF_CREATE ? -EXFULL : -ENOENT;
+               error = uf.flags & ODPPF_CREATE ? -EFBIG : -ENOENT;
                goto error;
        } else if (!*bucket) {
                /* No such flow, but we found an available slot for it. */
index 0162c45..7dd2e04 100644 (file)
@@ -197,7 +197,6 @@ netflow_expire(struct netflow *nf, const struct ofexpired *expired)
         uint16_t iface = (nf->engine_id & 0x7f) << 9;
         nf_rec->input = htons(iface | (expired->flow.in_port & 0x1ff));
         nf_rec->output = htons(iface);
-        printf("input: %x\n", ntohs(nf_rec->input));
     } else {
         nf_rec->input = htons(expired->flow.in_port);
         nf_rec->output = htons(0);
index b2d5511..61027c5 100755 (executable)
@@ -686,7 +686,7 @@ For a non-VLAN, non-bond master PIF, the PIF is its own physical device PIF.
     pifrec = db.get_pif_record(pif)
 
     if pifrec['VLAN'] != '-1':
-        return [get_vlan_slave_of_pif(pif)]
+        return get_physdev_pifs(get_vlan_slave_of_pif(pif))
     elif len(pifrec['bond_master_of']) != 0:
         return get_bond_slaves_of_pif(pif)
     else: