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:34:03 +0000 (17:34 -0700)
commitc432bff7928a41651b0a14f499ba8b27f0c0b6e8
treed9c6eafe96db35e388a9862181ca0231114a3ee0
parent7ee9e8419667c7a35eeb56d63ee083e74b95b155
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