[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150317.002427.1841301696338614194.davem@davemloft.net>
Date: Tue, 17 Mar 2015 00:24:27 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: siva.mannem.lnx@...il.com
Cc: netdev@...r.kernel.org, sfeldma@...il.com
Subject: Re: [PATCH net-next v4 3/3] Validate all netlink attributes and
return error if any of the validation fails.
From: Siva Mannem <siva.mannem.lnx@...il.com>
Date: Tue, 17 Mar 2015 04:32:44 +0530
> This patch validates all netlink attributes and return error if any of the
> validation fails.
>
> Signed-off-by: Siva Mannem <siva.mannem.lnx@...il.com>
> Suggested-by: David Miller <davem@...emloft.net>
You have to remove the range checking code from all the other
functions too.
Then no errors can be returned by them at all actually and that's an
really nice cleanup.
Please don't make microscopic narrow changes like this, think about
the higher level implications and the things that are no longer
necessary as a result.
Thanks.
--
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