datapath: More strict vlan encap netlink check
authorAndy Zhou <azhou@nicira.com>
Thu, 15 Aug 2013 21:16:52 +0000 (14:16 -0700)
committerJesse Gross <jesse@nicira.com>
Thu, 22 Aug 2013 20:25:25 +0000 (13:25 -0700)
commit799fe14776d149c15ef64dc5eddcfe5c433f69a8
tree32f51d6a4bac11a7c7c9ec1f31d4c662a6e41eb8
parentcc611f66a6cb907673786ffa2f8137a6da597d1a
datapath: More strict vlan encap netlink check

Only parse the encap key field if eth_type is 802.1Q and
VLAN_TAG_PRESENT bit is set. Add a few more eror checks and logs.

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