[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHmME9qKjLSCU2LdZ1_7CCxvNfmuY1=iC0+LgRa+32hFLT71zw@mail.gmail.com>
Date: Thu, 6 Jul 2017 16:28:25 +0200
From: "Jason A. Donenfeld" <Jason@...c4.com>
To: Netdev <netdev@...r.kernel.org>
Subject: Re: net: Fix inconsistent teardown and release of private netdev state.
On Thu, Jul 6, 2017 at 4:24 PM, Jason A. Donenfeld <Jason@...c4.com> wrote:
>
> if (!ret)
> pr_info("Yay it worked!\n");
>
> return 0;
This is supposed to be `return ret;`. See, even in psuedocode it's
hard to get right.
Powered by blists - more mailing lists