[PATCH v1 2/4] lib/net_utils: Introduce mac_pton_from_user()

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Dec 20 07:13:55 UTC 2017


On Tue, Dec 19, 2017 at 09:14:10PM +0200, Andy Shevchenko wrote:
> Some drivers are getting MAC from user space. Make a helper for them.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> ---
>  include/linux/kernel.h |  1 +
>  lib/net_utils.c        | 12 ++++++++++++
>  2 files changed, 13 insertions(+)

Don't do this just for some horrid staging drivers.  They can just drop
that functionality entirely and use the "normal" way of doing this if
they really want it.

thanks,

greg k-h


More information about the devel mailing list