diff options
| author | Ajay Singh <[email protected]> | 2018-05-11 13:43:15 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-05-14 14:04:48 +0200 |
| commit | 7ca6ba24c3e3ca852d46acf885c4982fab3bb895 (patch) | |
| tree | b98cfe6f2ccde0df0682c97220e8fdeecbf2598b /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 30300a1cbd4ce2df28abc62b087ef18bb379ec7f (diff) | |
staging: wilc1000: use kmemdup instead of kmalloc in add_network_to_shadow()
Use kmemdup instead of kmalloc & memcpy in add_network_to_shadow(). Also
added code to set 'ies_len' to zero in case of memory allocation
failure.
Signed-off-by: Ajay Singh <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions