Re: KASAN+netlink, was: [PATCH] [net-next?] hns: avoid stack overflow with CONFIG_KASAN

From: David Miller
Date: Wed Feb 08 2017 - 11:36:04 EST

From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Wed, 08 Feb 2017 13:03:59 +0100

> Things I've tried here are:
> - Moving nla_put_{u8,u16,u32} out of line is probably uncontroversial and
> it helps enough with br_netlink.c, but nl820211 is worse and needs some
> additional fiddling.

This is probably the least intrusive solution if it works.