datapath: Do not free in use mask list, fixes a kernel crash bug
authorAndy Zhou <azhou@nicira.com>
Wed, 29 Jan 2014 16:36:05 +0000 (08:36 -0800)
committerAndy Zhou <azhou@nicira.com>
Wed, 29 Jan 2014 20:48:23 +0000 (12:48 -0800)
commitc97c48505a2a37a143f6bd8bac4f550022fa3d2a
tree5c887bdba94c9cf5143e7614abf6ac8670d4f414
parenta5262aad9e203c05eebca9b1ff1331e888a2040b
datapath: Do not free in use mask list, fixes a kernel crash bug

Last commit 738a2445c0 introduced a bug where the mask list of
a flow table was freed even when the table's flows and mask list is
reused by another table.

Bug #32932

Reported-by: Len Gao <leng@vmware.com>
Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/flow.c