diff options
| author | Nikolay Aleksandrov <[email protected]> | 2018-07-22 08:37:31 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-22 17:09:30 +0000 |
| commit | 5b3df177233ef4413ffc2c1a7647736ba89d4df1 (patch) | |
| tree | a361b8000ddb18f53bcc7172e552e2e2dbacce69 /drivers/net/xen-netfront.c | |
| parent | Merge branch 'TX-used-ring-batched-updating-for-vhost' (diff) | |
| download | kernel-5b3df177233ef4413ffc2c1a7647736ba89d4df1.tar.gz kernel-5b3df177233ef4413ffc2c1a7647736ba89d4df1.zip | |
bonding: don't cast const buf in sysfs store
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions
