mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
dpif-linux: Log the correct port-PID mapping.
When adding a port, the code previously logged the requested port number (which is generally UINT32_MAX) instead of the assigned port number. Signed-off-by: Justin Pettit <jpettit@nicira.com>
This commit is contained in:
@@ -431,7 +431,7 @@ dpif_linux_port_add(struct dpif *dpif_, struct netdev *netdev,
|
||||
if (!error) {
|
||||
*port_nop = reply.port_no;
|
||||
VLOG_DBG("%s: assigning port %"PRIu32" to netlink pid %"PRIu32,
|
||||
dpif_name(dpif_), request.port_no, upcall_pid);
|
||||
dpif_name(dpif_), reply.port_no, upcall_pid);
|
||||
} else if (error == EBUSY && *port_nop != UINT32_MAX) {
|
||||
VLOG_INFO("%s: requested port %"PRIu32" is in use",
|
||||
dpif_name(dpif_), *port_nop);
|
||||
|
Reference in New Issue
Block a user