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 15:51:30 +0000 (08:51 -0700)
commit9ed20b8a36555a39e3cda9900c6adc0e2f5ae2c2
treeb0dd03dac0bcae57aab309956fc4f3e078effabf
parent5341d04613a359b949279ce3f54f1a5bd7731999
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