[dpdk-dev] [PATCH 02/13] net/failsafe: check code of promiscuous mode switch

Stephen Hemminger stephen at networkplumber.org
Thu Sep 5 18:36:15 CEST 2019


On Thu, 5 Sep 2019 17:10:40 +0100
Andrew Rybchenko <arybchenko at solarflare.com> wrote:

> +		if (ret != 0) {
> +			ERROR("Failed to apply promiscuous mode");
> +			return ret;
> +		}

Just return the error as normal and let caller deal with it.
Additional logging is not necessary.


More information about the dev mailing list