summaryrefslogtreecommitdiffstats
path: root/net/packet
diff options
context:
space:
mode:
authorKangjie Lu2018-12-21 07:22:32 +0100
committerDavid S. Miller2018-12-21 18:01:47 +0100
commitd134e486e831defd26130770181f01dfc6195f7d (patch)
treeea068e4e901b4d391436c58352a3b37ffd1123a8 /net/packet
parenttcp: fix a race in inet_diag_dump_icsk() (diff)
downloadkernel-qcow2-linux-d134e486e831defd26130770181f01dfc6195f7d.tar.gz
kernel-qcow2-linux-d134e486e831defd26130770181f01dfc6195f7d.tar.xz
kernel-qcow2-linux-d134e486e831defd26130770181f01dfc6195f7d.zip
net: netxen: fix a missing check and an uninitialized use
When netxen_rom_fast_read() fails, "bios" is left uninitialized and may contain random value, thus should not be used. The fix ensures that if netxen_rom_fast_read() fails, we return "-EIO". Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions