summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2019-07-25 01:55:34 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-08-20 14:30:37 -0700
commitac6f733a7bd5e23ce9d58ef995f51fbd1ad2fa97 (patch)
treee1e1c76ab60d9dd98d8f4b1c75ade5646d1eb033 /ipc
parent7829570e287d938fc49b8ae151d9af26436967a8 (diff)
downloadlinux-ac6f733a7bd5e23ce9d58ef995f51fbd1ad2fa97.tar.bz2
ice: allow empty Rx descriptors
In some circumstances, the hardware will hand us a receive descriptor which has no data attached, but is otherwise valid. The receive code was improperly ignoring these descriptors, which result in an infinite loop. To fix this, change the receive code to process all descriptors, regardless of the size of the associated data. Add checks to the memory-handling functions to allow for zero size. Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions