Re: [PATCH] ipv4: inet_bind: check the addr_len first

2015-06-03 Thread David Miller
From: Denis Kirjanov Date: Tue, 2 Jun 2015 12:08:00 +0300 > Perform the address length check first, before calling > the the proto specific bind() function > > Signed-off-by: Denis Kirjanov This doesn't fix any actual bug, doesn't improve the code in preparation for another change that actual

[PATCH] ipv4: inet_bind: check the addr_len first

2015-06-02 Thread Denis Kirjanov
Perform the address length check first, before calling the the proto specific bind() function Signed-off-by: Denis Kirjanov --- 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_inet.c index 6ad0f7a..333e2fa 100644 -