[ovs-git] [openvswitch/ovs] 72c44b: netdev-linux: do not warn when getting stats for n...

GitHub noreply at github.com
Thu Jul 16 17:59:36 UTC 2015


  Branch: refs/heads/branch-2.3
  Home:   https://github.com/openvswitch/ovs
  Commit: 72c44b3e0728eafe63357f02b1f206871281f43c
      https://github.com/openvswitch/ovs/commit/72c44b3e0728eafe63357f02b1f206871281f43c
  Author: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
  Date:   2015-07-16 (Thu, 16 Jul 2015)

  Changed paths:
    M lib/netdev-linux.c

  Log Message:
  -----------
  netdev-linux: do not warn when getting stats for netdev with no vport

When there is no vport for a given netdev, dpif_netlink_vport_get might return
ENODEV. Do not warn a failure to get port stats when that's the case.

This happens when the userspace switch is used.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list