[ovs-dev] [PATCH] meta-flow: Fix and simplify mf_get_mask().

Jesse Gross jesse at nicira.com
Tue Dec 18 18:02:27 UTC 2012


On Tue, Dec 18, 2012 at 9:45 AM, Ben Pfaff <blp at nicira.com> wrote:
> This function can be implemented as a trivial wrapper around
> mf_get_value(), which I hadn't noticed before, so it's better to do it
> that way.  Also, examining the code that is removed, it had some bugs in
> it (for example, all MFF_TUN_* fields were treated as if they were
> MFF_TUN_ID) which mf_get_value() does not have, so this fixes bugs too.
>
> Signed-off-by: Ben Pfaff <blp at nicira.com>

This seems like an obvious improvement.



More information about the dev mailing list