ofproto-dpif: Never wildcard dl_type for "normal" action.
authorJustin Pettit <jpettit@nicira.com>
Wed, 12 Jun 2013 00:15:31 +0000 (17:15 -0700)
committerJustin Pettit <jpettit@nicira.com>
Wed, 12 Jun 2013 00:37:03 +0000 (17:37 -0700)
commitbaab901089fca8135511adf9e1f2f14c55d9c946
tree4659e0a18384ad6fe48dc63801c0eb1bf4a11784
parentfacbc29f5b2f12c99f61316df47904f9510743f0
ofproto-dpif: Never wildcard dl_type for "normal" action.

The is_gratuitous_arp() function is occasionally called when
processing the "normal" action.  The previous code only disabled
wildcarding the dl_type field when the function was called, but
since it runs occasionally, it could lead to inconsistencies in the
facet table.  This commit causes the dl_type to never be wildcarded
when the "normal" action is used.

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