On Wed, Jun 4, 2014 at 5:07 PM, Ben Pfaff <[email protected]> wrote:
> Commit 87400a3d4cc4a (dpif-netdev: Fix use-after-free in port_unref().)
> fixed one use-after-free in the common case of port_unref().  However,
> there was another, similar case: if port->netdev has no rxqs, then
> the netdev_close() causes port->netdev to be destroyed and thus the
> following call to netdev_n_rxq() accesses freed memory.  This commit fixes
> the problem.
>
> Found by valgrind.
>
> Signed-off-by: Ben Pfaff <[email protected]>
> ---
Acked-by: Andy Zhou <[email protected]>
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to