[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOJe8K3_Z91o2H9pWFCtSYMoQSbq2Ga0dYFR1Y=MFYGHsGccuA@mail.gmail.com>
Date: Tue, 2 Jun 2015 18:13:38 +0300
From: Denis Kirjanov <kda@...ux-powerpc.org>
To: Hannes Frederic Sowa <hannes@...essinduktion.org>
Cc: netdev@...r.kernel.org
Subject: Re: [net-next v2] ipv4: inet_bind: check the addr_len first
On 6/2/15, Hannes Frederic Sowa <hannes@...essinduktion.org> wrote:
> Hello,
>
> On Tue, Jun 2, 2015, at 14:21, Denis Kirjanov wrote:
>> Perform the address length check first, before calling
>> the proto specific bind() function
>
> Can you give more detail why you did this change and what bug it fixes?
I've sent the v2 version with the net-next tag. The idea is simple:
check the error condition first and then do the useful work.
>
> Thanks,
> Hannes
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists