diff options
author | 2015-10-31 02:05:56 +0300 | |
---|---|---|
committer | 2015-11-02 15:56:11 -0500 | |
commit | 2c94e8567d7c7c9d619584da857e9f5b28f283ea (patch) | |
tree | 3edd2e76972a77d9d72b83653814e60dcb494461 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge tag 'linux-can-fixes-for-4.3-20151030' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can (diff) | |
download | linux-dev-2c94e8567d7c7c9d619584da857e9f5b28f283ea.tar.xz linux-dev-2c94e8567d7c7c9d619584da857e9f5b28f283ea.zip |
sh_eth: fix uninitialized arrays in sh_eth_ring_init()
sh_eth_ring_free() called in the sh_eth_ring_init()'s error path expects
the arrays pointed to by 'sh_eth_private::[rt]x_skbuff' to be initialized
with NULLs but they are allocated with just kmalloc_array() and so are left
filled with random data. Use kcalloc() instead.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions