https://github.com/torvalds/linux
Revision 19b596bda1c5400808635fde0d521c1f89a6c1a3 authored by Govindarajulu Varadarajan on 11 June 2015, 06:22:55 UTC, committed by David S. Miller on 11 June 2015, 06:42:39 UTC
We do not check the return value of enic_dev_stats_dump(). If allocation
fails, we will hit NULL pointer reference.

Return only if memory allocation fails. For other failures, we return the
previously recorded values.

Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 6286e82
History
Tip revision: 19b596bda1c5400808635fde0d521c1f89a6c1a3 authored by Govindarajulu Varadarajan on 11 June 2015, 06:22:55 UTC
enic: check return value for stat dump
Tip revision: 19b596b
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.7 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 303.1 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top