netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] netdevsim: Two small fixes
@ 2020-05-21 11:46 Ido Schimmel
  2020-05-21 11:46 ` [PATCH net 1/2] netdevsim: Ensure policer drop counter always increases Ido Schimmel
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ido Schimmel @ 2020-05-21 11:46 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, jiri, mlxsw, Ido Schimmel

From: Ido Schimmel <idosch@mellanox.com>

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-22 23:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-21 11:46 [PATCH net 0/2] netdevsim: Two small fixes Ido Schimmel
2020-05-21 11:46 ` [PATCH net 1/2] netdevsim: Ensure policer drop counter always increases Ido Schimmel
2020-05-21 11:46 ` [PATCH net 2/2] selftests: netdevsim: Always initialize 'RET' variable Ido Schimmel
2020-05-21 19:20 ` [PATCH net 0/2] netdevsim: Two small fixes Jakub Kicinski
2020-05-22 23:05 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).