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:01:19 +0000 (13:01 -0700)
commite2734807110ea184a7ed3423b706e9b6bf1f8319
treee99340babb385acf455c6c6f13859211c3cd49a2
parent214a1331e23ca2153dc7149f7f53e6513d5a7354
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