odp-util: Accept fields with zero mask
authorHaggai Eran <haggaie@mellanox.com>
Thu, 14 Jan 2016 11:29:07 +0000 (13:29 +0200)
committerJesse Gross <jesse@kernel.org>
Tue, 19 Jan 2016 21:14:12 +0000 (13:14 -0800)
commit00ec40176a86e72e60a55d2972d2eaa374b15650
tree2f5ffe60f53ba1d146a405eec16e1a9fec27bbe1
parentf18d4462c5790473733f2f7d1b8a111eefe63ced
odp-util: Accept fields with zero mask

It is possible to pass some fields to the kernel with a zero mask, but
ovs-dpctl doesn't currently allow it. Change the code to allow it to
mimic what vswitchd is allowed to do.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Jesse Gross <jesse@kernel.org>
lib/odp-util.c