From: Ido Schimmel <[email protected]>

Fix two bugs observed while analyzing regression failures.

Patch #1 fixes a bug where sometimes the drop counter of a packet trap
policer would not increase.

Patch #2 adds a missing initialization of a variable in a related
selftest.

Ido Schimmel (2):
  netdevsim: Ensure policer drop counter always increases
  selftests: netdevsim: Always initialize 'RET' variable

 drivers/net/netdevsim/dev.c                                   | 3 +--
 tools/testing/selftests/drivers/net/netdevsim/devlink_trap.sh | 4 ++++
 2 files changed, 5 insertions(+), 2 deletions(-)

-- 
2.26.2

Reply via email to