mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
Merge citrix branch into master.
This commit is contained in:
@@ -1496,6 +1496,7 @@ get_stats_via_netlink(int ifindex, struct netdev_stats *stats)
|
||||
|
||||
if (!attrs[IFLA_STATS]) {
|
||||
VLOG_WARN_RL(&rl, "RTM_GETLINK reply lacks stats");
|
||||
ofpbuf_delete(reply);
|
||||
return EPROTO;
|
||||
}
|
||||
|
||||
@@ -1522,6 +1523,8 @@ get_stats_via_netlink(int ifindex, struct netdev_stats *stats)
|
||||
stats->tx_heartbeat_errors = rtnl_stats->tx_heartbeat_errors;
|
||||
stats->tx_window_errors = rtnl_stats->tx_window_errors;
|
||||
|
||||
ofpbuf_delete(reply);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user