[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181230.123350.1719727923588813351.davem@davemloft.net>
Date:   Sun, 30 Dec 2018 12:33:50 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     christophe.jaillet@...adoo.fr
Cc:     kuznet@....inr.ac.ru, yoshfuji@...ux-ipv6.org, sd@...asysnail.net,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
        kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] net/ipv6: Fix a test against 'ipv6_find_idev()' return
 value
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Date: Fri, 28 Dec 2018 23:28:21 +0100
> 'ipv6_find_idev()' returns NULL on error, not an error pointer.
> Update the test accordingly and return -ENOBUFS, as already done in
> 'addrconf_add_dev()', if NULL is returned.
> 
> Fixes: ("ipv6: allow userspace to add IFA_F_OPTIMISTIC addresses")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Applied and queued up for -stable.
Please provide the SHA1_ID in the Fixes: tag next time, I fixed it up
for you.
Powered by blists - more mailing lists
 
