From: Nikolay Aleksandrov
Date: Sun, 22 Jul 2018 11:37:31 +0300
> As was recently discussed [1], let's avoid casting the const buf in
> bonding_sysfs_store_option and use kstrndup/kfree instead.
>
> [1] http://lists.openwall.net/netdev/2018/07/22/25
>
> Signed-off-by: Nikolay Aleksandrov
Appl
As was recently discussed [1], let's avoid casting the const buf in
bonding_sysfs_store_option and use kstrndup/kfree instead.
[1] http://lists.openwall.net/netdev/2018/07/22/25
Signed-off-by: Nikolay Aleksandrov
---
drivers/net/bonding/bond_sysfs.c | 7 ++-
1 file changed, 6 insertions(+),