diff options
author | Dan Carpenter <error27@gmail.com> | 2010-08-19 10:52:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-20 05:48:07 +0200 |
commit | 4da79504b2b41410dd56e9268c9ad403aa65e89c (patch) | |
tree | 6a4df07feabd971a80ea17cbd3d10d66eafcf919 /samples/Makefile | |
parent | tehuti: Use net_device_stats from struct net_device (diff) | |
download | linux-4da79504b2b41410dd56e9268c9ad403aa65e89c.tar.xz linux-4da79504b2b41410dd56e9268c9ad403aa65e89c.zip |
qlge: pull NULL check ahead of dereference
There was a dereference before NULL check issue introduced in 1e213303d
"qlge: Add tx multiqueue support." I've pulled the NULL check of
"net_rsp" forward a couple lines to avoid that.
Also Ron Mercer says that the early exit should be above the index
write. ql_write_cq_idx(rx_ring);
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/Makefile')
0 files changed, 0 insertions, 0 deletions