projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
370a11b
)
bridge: Log port destruction
author
Justin Pettit
<jpettit@nicira.com>
Thu, 21 Oct 2010 22:37:57 +0000
(15:37 -0700)
committer
Justin Pettit
<jpettit@nicira.com>
Thu, 21 Oct 2010 22:43:06 +0000
(15:43 -0700)
We log when we create a port, so let's log when we destroy one for
parity.
vswitchd/bridge.c
patch
|
blob
|
history
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index 24c36405c051499fd34a77f13e53305d9d4b00e3..aee84d8a6e3870564fc0de3e13b62e706fa91423 100644
(file)
--- a/
vswitchd/bridge.c
+++ b/
vswitchd/bridge.c
@@
-3564,6
+3564,8
@@
port_destroy(struct port *port)
del = br->ports[port->port_idx] = br->ports[--br->n_ports];
del->port_idx = port->port_idx;
+ VLOG_INFO("destroyed port %s on bridge %s", port->name, br->name);
+
netdev_monitor_destroy(port->monitor);
free(port->ifaces);
bitmap_free(port->trunks);