learn: Initialize cookie_mask in constructed flow_mod.
authorBen Pfaff <blp@nicira.com>
Tue, 20 Mar 2012 18:32:08 +0000 (11:32 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 21 Mar 2012 16:07:44 +0000 (09:07 -0700)
commit0c91242aeed4adfc64581a01ff5bece55848a414
tree1b41321620c5172854a65632fc1833f0642f6bb0
parent18f2b80702c1372c133e76cc78de99458ac4dcb5
learn: Initialize cookie_mask in constructed flow_mod.

Otherwise the "learn" action may not correctly set the cookie in flows that
it creates.

Found by valgrind.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/learn.c