diff options
| author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2018-07-22 11:37:31 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-07-22 20:09:30 +0300 |
| commit | 5b3df177233ef4413ffc2c1a7647736ba89d4df1 (patch) | |
| tree | a361b8000ddb18f53bcc7172e552e2e2dbacce69 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | fb42c838b641d3da55dd17d8fa587a6c9c88e5e0 (diff) | |
| download | linux-5b3df177233ef4413ffc2c1a7647736ba89d4df1.tar.xz | |
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 <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
