Re: [ovs-dev] [PATCH 1/3] dpif-netdev: Fix use-after-free in port_unref().

2014-05-21 Thread Jarno Rajahalme
Acked-by: Jarno Rajahalme On May 20, 2014, at 5:11 PM, Ben Pfaff wrote: > When the last rxq is closed (which releases the rxq's internal reference > to its netdev) the next call to netdev_n_rxq() accesses freed memory. > > Found by valgrind. > > Signed-off-by: Ben Pfaff > Reported-by: Jarno

[ovs-dev] [PATCH 1/3] dpif-netdev: Fix use-after-free in port_unref().

2014-05-20 Thread Ben Pfaff
When the last rxq is closed (which releases the rxq's internal reference to its netdev) the next call to netdev_n_rxq() accesses freed memory. Found by valgrind. Signed-off-by: Ben Pfaff Reported-by: Jarno Rajahalme --- lib/dpif-netdev.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion