diff options
author | Jean-Philippe Brucker | 2017-10-19 21:07:36 +0200 |
---|---|---|
committer | Jeff Kirsher | 2017-10-26 16:42:58 +0200 |
commit | 104ba83363d1d42af62abb247f1426c09a80fced (patch) | |
tree | 2427b4f0ce295c14b91706891ca830bdb0aae6a1 /drivers/nfc/pn544 | |
parent | e1000: avoid null pointer dereference on invalid stat type (diff) | |
download | kernel-qcow2-linux-104ba83363d1d42af62abb247f1426c09a80fced.tar.gz kernel-qcow2-linux-104ba83363d1d42af62abb247f1426c09a80fced.tar.xz kernel-qcow2-linux-104ba83363d1d42af62abb247f1426c09a80fced.zip |
igb: Fix TX map failure path
When the driver cannot map a TX buffer, instead of rolling back
gracefully and retrying later, we currently get a panic:
[ 159.885994] igb 0000:00:00.0: TX DMA map failed
[ 159.886588] Unable to handle kernel paging request at virtual address ffff00000a08c7a8
...
[ 159.897031] PC is at igb_xmit_frame_ring+0x9c8/0xcb8
Fix the erroneous test that leads to this situation.
Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/nfc/pn544')
0 files changed, 0 insertions, 0 deletions