Skip to content

netdevsim: fib: Fix reference count leak on route deletion failure

Ido Schimmel netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3netdevsim: fib: Fix reference count leak on route deletion failuredrivers/net/netdevsim/fib.c+26 -11 replyApplied
2/3netdevsim: fib: Add debugfs knob to simulate route deletion failuredrivers/net/netdevsim/fib.c+14 -01 replyApplied
3/3selftests: netdevsim: Add test cases for route deletion failuretools/testing/selftests/drivers/net/netdevsim/fib.sh+45 -01 replyApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAmit CohenDavid AhernJakub Kicinski
SeriesR-b
1/3R-b R-b
2/3R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH net 0/3] netdevsim: fib: Fix reference count leak on route deletion failure

Fix a recently reported netdevsim bug found using syzkaller.

Patch #1 fixes the bug.

Patch #2 adds a debugfs knob to allow us to test the fix.

Patch #3 adds test cases.

Ido Schimmel (3):
netdevsim: fib: Fix reference count leak on route deletion failure
netdevsim: fib: Add debugfs knob to simulate route deletion failure
selftests: netdevsim: Add test cases for route deletion failure

 drivers/net/netdevsim/fib.c                   | 41 ++++++++++++++++-
 .../selftests/drivers/net/netdevsim/fib.sh    | 45 +++++++++++++++++++
 2 files changed, 85 insertions(+), 1 deletion(-)
Signature · 1 line
2.36.1