datapath: Fix a kernel crash caused by corrupted mask list.
authorAndy Zhou <azhou@nicira.com>
Fri, 21 Jun 2013 23:07:08 +0000 (16:07 -0700)
committerJesse Gross <jesse@nicira.com>
Sat, 22 Jun 2013 06:12:12 +0000 (23:12 -0700)
commitede77a461fbdc2b33a2adf80730b9515e1b97c32
treeaf79fbae1434f1df278fe6ee1b7bb48099c1d42a
parent6d3e8965a2f1a4ff31db6f559d1e07f6b70e54b8
datapath: Fix a kernel crash caused by corrupted mask list.

When flow table is copied, the mask list from the old table
is not properly copied into the new table. The corrupted mask
list in the new table will lead to kernel crash. This patch
fixes this bug.

Bug #18110
Reported-by: Justin Pettit <jpettit@nicira.com>
Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/flow.c
datapath/flow.h