From: Giuseppe Lettieri Date: Mon, 7 May 2012 15:53:52 +0000 (+0200) Subject: tap_pl: proper destruction of tap_pl X-Git-Tag: sliver-openvswitch-0.1-1~18 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7c7b5a60acd19317885a77f15b7074dc34d06288;p=sliver-openvswitch.git tap_pl: proper destruction of tap_pl --- diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c index e0d749f0b..e5acfba45 100644 --- a/lib/netdev-linux.c +++ b/lib/netdev-linux.c @@ -731,7 +731,7 @@ netdev_linux_destroy(struct netdev_dev *netdev_dev_) netdev_dev->tc->ops->tc_destroy(netdev_dev->tc); } - if (class == &netdev_tap_class) { + if (class == &netdev_tap_class || class == &netdev_tap_pl_class) { destroy_tap(netdev_dev); } free(netdev_dev);