netdev-vport: Fix use-after-free error in netdev_vport_route_changed().
authorBen Pfaff <blp@nicira.com>
Tue, 24 Jun 2014 20:47:33 +0000 (13:47 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 24 Jun 2014 21:41:07 +0000 (14:41 -0700)
commit803485697dd690490395a81685dd547bf38810af
tree6853f976263cbd66f59a4e5112adda36db8b4abb
parent438e489390baf4ea81b508892924de2ae3253119
netdev-vport: Fix use-after-free error in netdev_vport_route_changed().

We can't unlock the netdev's mutex after close the netdev, because closing
the netdev might destroy the mutex.

VMware-BZ: #1275187
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/netdev-vport.c