• Ilya Maximets's avatar
    ofproto-dpif-upcall: Fix using uninitialized fitness. · c635f687
    Ilya Maximets authored
    'upcall_xlate()' makes a decision to compose slow path actions
    by checking the 'upcall->fitness', which is not initialized in
    case of calling from the 'upcall_cb()'.
    
    'upcall_cb()' receives the real flow, so the fitness should be
    initialized as perfect.
    
    Fixes following tests on travis:
    
        ofproto-dpif.at: ofproto-dpif megaflow - disabled - pmd
        ofproto-dpif.at: ofproto-dpif - conntrack - output action
    
    CC: Ben Pfaff <blp@ovn.org>
    Fixes: 687bafbb ("ofproto-dpif-upcall: Slow path flows that
                          datapath can't fully match.")
    Signed-off-by: default avatarIlya Maximets <i.maximets@samsung.com>
    Signed-off-by: default avatarBen Pfaff <blp@ovn.org>
    c635f687
Name
Last commit
Last update
..
.gitignore Loading commit data...
automake.mk Loading commit data...
bond.c Loading commit data...
bond.h Loading commit data...
bundles.c Loading commit data...
bundles.h Loading commit data...
collectors.c Loading commit data...
collectors.h Loading commit data...
connmgr.c Loading commit data...
connmgr.h Loading commit data...
fail-open.c Loading commit data...
fail-open.h Loading commit data...
in-band.c Loading commit data...
in-band.h Loading commit data...
ipfix-enterprise-entities.def Loading commit data...
ipfix-gen-entities Loading commit data...
ipfix.xml Loading commit data...
libofproto.pc.in Loading commit data...
libofproto.sym.in Loading commit data...
names.c Loading commit data...
netflow.c Loading commit data...
netflow.h Loading commit data...
ofproto-dpif-ipfix.c Loading commit data...
ofproto-dpif-ipfix.h Loading commit data...
ofproto-dpif-mirror.c Loading commit data...
ofproto-dpif-mirror.h Loading commit data...
ofproto-dpif-monitor.c Loading commit data...
ofproto-dpif-monitor.h Loading commit data...
ofproto-dpif-rid.c Loading commit data...
ofproto-dpif-rid.h Loading commit data...
ofproto-dpif-sflow.c Loading commit data...
ofproto-dpif-sflow.h Loading commit data...
ofproto-dpif-trace.c Loading commit data...
ofproto-dpif-trace.h Loading commit data...
ofproto-dpif-unixctl.man Loading commit data...
ofproto-dpif-upcall.c Loading commit data...
ofproto-dpif-upcall.h Loading commit data...
ofproto-dpif-xlate-cache.c Loading commit data...
ofproto-dpif-xlate-cache.h Loading commit data...
ofproto-dpif-xlate.c Loading commit data...
ofproto-dpif-xlate.h Loading commit data...
ofproto-dpif.c Loading commit data...
ofproto-dpif.h Loading commit data...
ofproto-provider.h Loading commit data...
ofproto-tnl-unixctl.man Loading commit data...
ofproto-unixctl.man Loading commit data...
ofproto.c Loading commit data...
ofproto.h Loading commit data...
pinsched.c Loading commit data...
pinsched.h Loading commit data...
tunnel.c Loading commit data...
tunnel.h Loading commit data...