Skip to content

staging: slicoss: bug fixes to stabilize driver

David Matlack lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7staging: slicoss: fix use-after-free in slic_entry_probedrivers/staging/slicoss/slicoss.c+5 -110 replies
2/7staging: slicoss: fix multiple free-after-free in slic_entry_removedrivers/staging/slicoss/slicoss.c+0 -80 replies
3/7staging: slicoss: remove unused members of struct adapterdrivers/staging/slicoss/slic.h drivers/staging/slicoss/slicoss.c+1 -50 replies
4/7staging: slicoss: remove gratuitous debug infrastructuredrivers/staging/slicoss/TODO drivers/staging/slicoss/slic.h drivers/staging/slicoss/slicoss.c+3 -4510 replies
5/7staging: slicoss: fix dma memory leakdrivers/staging/slicoss/slicoss.c+3 -00 replies
6/7staging: slicoss: fix 64-bit isr address bugdrivers/staging/slicoss/slicoss.c+2 -10 replies
7/7staging: slicoss: fix use-after-free bug in slic_entry_removedrivers/staging/slicoss/slicoss.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] staging: slicoss: bug fixes to stabilize driver

The following patch series fixes multiple small but critical bugs in the slicoss driver that can cause kernel oopses, panics, and lots of memory leaking.

The intent of this patch series is to provide the ground work so that proper work (NAPI, locking re-design, ... see TODO) can be done.

All patches were tested on the "Mojave" (single port, PCI) card.

David Matlack (7):
staging: slicoss: fix use-after-free in slic_entry_probe
staging: slicoss: fix multiple free-after-free in slic_entry_remove
staging: slicoss: remove unused members of struct adapter
staging: slicoss: remove gratuitous debug infrastructure
staging: slicoss: fix dma memory leak
staging: slicoss: fix 64-bit isr address bug
staging: slicoss: fix use-after-free bug in slic_entry_remove

 drivers/staging/slicoss/TODO      |   1 -
 drivers/staging/slicoss/slic.h    |   5 -
 drivers/staging/slicoss/slicoss.c | 487 ++------------------------------------
 3 files changed, 16 insertions(+), 477 deletions(-)
Signature · 1 line
1.9.2