diff options
author | Michael Chan <mchan@broadcom.com> | 2016-01-02 23:45:00 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-04 15:54:39 -0500 |
commit | 3b2b7d9db74adb95aa0bd029298a741333eb847e (patch) | |
tree | eeba748414229d700aebbfd204129cd431411403 /drivers/net/ethernet/broadcom/bnxt/bnxt.h | |
parent | b6ab4b01f53b5f9e17dbd4f91c95fa5049fa2101 (diff) | |
download | lwn-3b2b7d9db74adb95aa0bd029298a741333eb847e.tar.gz lwn-3b2b7d9db74adb95aa0bd029298a741333eb847e.zip |
bnxt_en: Check for NULL rx or tx ring.
Each bnxt_napi structure may no longer be having both an rx ring and
a tx ring. Check for a valid ring before using it.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt.h')
0 files changed, 0 insertions, 0 deletions