commit | e80857cce82da31e41a6599fc888dfc92e0167cc | [log] [tgz] |
---|---|---|
author | Andy Zhou <azhou@nicira.com> | Tue Jan 21 09:31:04 2014 -0800 |
committer | Jesse Gross <jesse@nicira.com> | Tue Feb 04 22:21:17 2014 -0800 |
tree | 307e621f4780b302065c4a922cab850c864ceab6 | |
parent | aea0bb4f8ee513537ad84b9f3f609f96e272d98e [diff] |
openvswitch: Fix kernel panic on ovs_flow_free Both mega flow mask's reference counter and per flow table mask list should only be accessed when holding ovs_mutex() lock. However this is not true with ovs_flow_table_flush(). The patch fixes this bug. Reported-by: Joe Stringer <joestringer@nicira.com> Signed-off-by: Andy Zhou <azhou@nicira.com> Signed-off-by: Jesse Gross <jesse@nicira.com>