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.