Re: [net-next v2] ipv4: inet_bind: check the addr_len first

2015-06-02 Thread Denis Kirjanov
On 6/3/15, Hannes Frederic Sowa wrote: > > > On Tue, Jun 2, 2015, at 17:13, Denis Kirjanov wrote: >> On 6/2/15, Hannes Frederic Sowa wrote: >> > Hello, >> > >> > On Tue, Jun 2, 2015, at 14:21, Denis Kirjanov wrote: >> >> Perform the address length check first, before calling >> >> the proto speci

Re: [net-next v2] ipv4: inet_bind: check the addr_len first

2015-06-02 Thread Hannes Frederic Sowa
On Tue, Jun 2, 2015, at 17:13, Denis Kirjanov wrote: > On 6/2/15, Hannes Frederic Sowa 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 deta

Re: [net-next v2] ipv4: inet_bind: check the addr_len first

2015-06-02 Thread Denis Kirjanov
On 6/2/15, Hannes Frederic Sowa 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 vers

Re: [net-next v2] ipv4: inet_bind: check the addr_len first

2015-06-02 Thread Hannes Frederic Sowa
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? Thanks, Hannes -- To unsubscribe from this list: send the line "unsubs

[net-next v2] ipv4: inet_bind: check the addr_len first

2015-06-02 Thread Denis Kirjanov
Perform the address length check first, before calling the proto specific bind() function Signed-off-by: Denis Kirjanov v2: add the proper tag tp the subject --- net/ipv4/af_inet.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_ine