odp-util: Always serialize tunnel mask attributes.
authorJesse Gross <jesse@nicira.com>
Thu, 1 Aug 2013 23:17:47 +0000 (16:17 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 2 Aug 2013 02:06:08 +0000 (19:06 -0700)
commit5b12e2ae1d2519c52c08d9b303f9e2decdecb700
tree275e13e4322802c3772dd7b001c22c5cdb072463
parent440046e0097fbcf160722573c2e855a872ec73e6
odp-util: Always serialize tunnel mask attributes.

A tunnel value attribute is not allowed to have an empty IP destination
address but this is legal for masks. This drops both the checks for
serializing masks and also the sanity checks on them.

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