diff options
author | Giuseppe Lettieri <g.lettieri@iet.unipi.it> | 2012-05-09 12:17:15 +0200 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-05-16 10:00:44 -0700 |
commit | 776cf91b42f631b4929fffe8ddd2aa06b40ea24c (patch) | |
tree | 6a8ed6302fb448a7c2a2efb08791b1b07a10da91 /datapath/.gitignore | |
parent | ec386d857c9c03374347141b7c8c76bd98b8fa49 (diff) |
dpif-netdev: allow for proper destruction of netdev datapaths
Until now, bridges with datapath_type=netdev did not destroy the datapath
when deleted. In particular, the tap device implementing the internal
interface was not close()d, and therefore the tap persists until
ovs-vswitchd exit()s.
This behaviour was caused by the missing callback for 'enumerate' in the
dpif-netdev class. Without this callback 'bridge_reconfigure' failed to
realize that there are datapaths with no bridge, and thus cannot destroy
them. Providing an 'enumerate' callback fixes this.
Signed-off-by: Giuseppe Lettieri <g.lettieri@iet.unipi.it>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath/.gitignore')
0 files changed, 0 insertions, 0 deletions