ofproto-dpif: Look at the flow's ofproto when handling flow misses.
authorJustin Pettit <jpettit@nicira.com>
Fri, 22 Feb 2013 22:07:47 +0000 (14:07 -0800)
committerJustin Pettit <jpettit@nicira.com>
Fri, 22 Feb 2013 23:48:38 +0000 (15:48 -0800)
commitddbc59545912fd7ec42cd89fdd57fe91d3b8377d
tree872e3a3f39abe56e9a54f5cc62f48b33f72e5a64
parent1f6d8197c11015f5eb365914591620be10055ef5
ofproto-dpif: Look at the flow's ofproto when handling flow misses.

When handling flow misses, an attempt is made to group identical packets
together.  Before the single datapath, each OpenFlow port number was
unique, so the flow_equal() function was sufficient to check whether
packets are identical.  With the single datapath, the OpenFlow port
numbers are shared across bridges, so packets that arrive at the same
time and are identical other than their ingress port were being serviced
by the same ofproto instance.  This commit changes the duplicate flow
finding function to take the ofproto into account.

Bug #14934

Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif.c