[ovs-dev] [megaflow masklist fix V2] datapath: Fix a kernel crash caused by corrupted mask list.

Jesse Gross jesse at nicira.com
Fri Jun 21 23:37:47 UTC 2013

On Fri, Jun 21, 2013 at 4:18 PM, Andy Zhou <azhou at nicira.com> wrote:
> 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 at nicira.com>

Can we just allocate the mask list head when we create v1 of the
table? I think that would eliminate a lot of conditions and also allow
us to return -ENOMEM up front rather than silent failing later on.

More information about the dev mailing list