diff options
| author | Sergei Shtylyov <[email protected]> | 2015-10-31 02:05:56 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-11-02 15:56:11 -0500 |
| commit | 2c94e8567d7c7c9d619584da857e9f5b28f283ea (patch) | |
| tree | 3edd2e76972a77d9d72b83653814e60dcb494461 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | 615a1003c6502f0d1812fd2dbe08e86b1c3f5db9 (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions