Re: [PATCH] net: Avoid unnecessary inet_addr_type() call when addr is INADDR_ANY

From: David Miller
Date: Tue Aug 25 2020 - 09:20:31 EST


From: Miaohe Lin <linmiaohe@xxxxxxxxxx>
Date: Tue, 25 Aug 2020 07:40:48 -0400

> We can avoid unnecessary inet_addr_type() call by check addr against
> INADDR_ANY first.
>
> Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>

Applied to net-next.