linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] overflow.h: Add arithmetic shift helper
@ 2018-08-01  0:00 Kees Cook
  2018-08-01  0:00 ` [PATCH v2 1/3] " Kees Cook
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Kees Cook @ 2018-08-01  0:00 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: Kees Cook, Jason Gunthorpe, Leon Romanovsky, Bart Van Assche,
	Doug Ledford, Dan Carpenter, linux-rdma, linux-kernel

This adds the shift overflow helper, selftests, and first usage.

-Kees

Jason Gunthorpe (1):
  overflow.h: Add arithmetic shift helper

Kees Cook (1):
  test_overflow: Add shift overflow tests

Leon Romanovsky (1):
  RDMA/mlx5: Fix shift overflow in mlx5_ib_create_wq

 drivers/infiniband/hw/mlx5/qp.c |   5 +-
 include/linux/overflow.h        |  31 +++++++
 lib/test_overflow.c             | 140 +++++++++++++++++++++++++++++++-
 3 files changed, 174 insertions(+), 2 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2018-08-01 15:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-01  0:00 [PATCH v2 0/3] overflow.h: Add arithmetic shift helper Kees Cook
2018-08-01  0:00 ` [PATCH v2 1/3] " Kees Cook
2018-08-01  1:59   ` Randy Dunlap
2018-08-01  2:15   ` Jason Gunthorpe
2018-08-01  4:22     ` Kees Cook
2018-08-01  7:57   ` Dan Carpenter
2018-08-01  8:07     ` Dan Carpenter
2018-08-01 15:38       ` Kees Cook
2018-08-01 15:48       ` Jason Gunthorpe
2018-08-01  0:00 ` [PATCH v2 2/3] test_overflow: Add shift overflow tests Kees Cook
2018-08-01  2:13   ` Jason Gunthorpe
2018-08-01  5:51     ` Kees Cook
2018-08-01  0:00 ` [PATCH v2 3/3] RDMA/mlx5: Fix shift overflow in mlx5_ib_create_wq Kees Cook

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).