datapath: Accept any 802.2 eth_type mask but override to be exact match
authorAndy Zhou <azhou@nicira.com>
Thu, 1 Aug 2013 17:49:46 +0000 (10:49 -0700)
committerJesse Gross <jesse@nicira.com>
Thu, 1 Aug 2013 20:00:45 +0000 (13:00 -0700)
commit33fd9f59afeda7955a8d63e57ac81cc2a0760531
tree3e8e010af9a6be04010eeec05c138e679633fabc
parent202c1051a9670595a87498d6f6dbf066e3d757b8
datapath: Accept any 802.2 eth_type mask but override to be exact match

When key.eth_type is absent it is interpreted to be 802.2, which is
represented by a special value. In order to prevent inadvertant matches
on this opaque value, the mask is forced to be either fully wildcarded
or fully exact.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/flow.c