From 451352a1553c8a38cc7f681047deb13c807bd492 Mon Sep 17 00:00:00 2001 From: Jarno Rajahalme Date: Mon, 6 May 2013 14:56:18 +0300 Subject: [PATCH] ofproto-dpif: Keep perfect fitness on tunnel input. As the flow is no longer modified (apart from the in_port) on tunnel input, the perfect fitness can be retained. Signed-off-by: Jarno Rajahalme Signed-off-by: Ben Pfaff --- ofproto/ofproto-dpif.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index c9d4a0496..49bf1e4d5 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -3930,9 +3930,6 @@ ofproto_receive(const struct dpif_backer *backer, struct ofpbuf *packet, } port = ofport_dpif_cast(ofport); - /* We can't reproduce 'key' from 'flow'. */ - fitness = fitness == ODP_FIT_PERFECT ? ODP_FIT_TOO_MUCH : fitness; - /* XXX: Since the tunnel module is not scoped per backer, it's * theoretically possible that we'll receive an ofport belonging to an * entirely different datapath. In practice, this can't happen because -- 2.43.0