datapath: Make sure that the "reserved" byte in user-provided flow is zero.
authorBen Pfaff <blp@nicira.com>
Wed, 6 May 2009 22:35:25 +0000 (15:35 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 6 May 2009 22:42:31 +0000 (15:42 -0700)
commit069004f484d4f07f8ca125f853a20a32f3a08b17
tree309004116441a2c1470e5693697939cad327fdb8
parent4d449544dafd41a60376080e8caa6654599e8f12
datapath: Make sure that the "reserved" byte in user-provided flow is zero.

Otherwise we could return a "false negative" lookup result to the user.
(This is not known to fix any real bug; for it to do so, there would have
to be userspace code that doesn't initialize the "reserved" byte, but I
don't know of any.)
datapath/datapath.c