All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2 net-next] cxgb3/l2t: Fix undefined behaviour and use struct_size() helper
@ 2019-03-29 15:26 Gustavo A. R. Silva
  2019-03-29 15:27 ` [PATCH 1/2 net-next] cxgb3/l2t: Fix undefined behaviour Gustavo A. R. Silva
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Gustavo A. R. Silva @ 2019-03-29 15:26 UTC (permalink / raw)
  To: Vishal Kulkarni, David S. Miller, Neil Horman
  Cc: netdev, linux-kernel, Gustavo A. R. Silva

Hi all,

This patchset aims to fix an undefined behaviour when using a zero-sized
array and, add the use of the struct_size() helper in kvzalloc().

You might consider the first patch in this series for stable.

More details in the commit logs.

Thanks

Gustavo A. R. Silva (2):
  cxgb3/l2t: Fix undefined behaviour
  cxgb3/l2t: Use struct_size() in kvzalloc()

 drivers/net/ethernet/chelsio/cxgb3/l2t.c | 4 ++--
 drivers/net/ethernet/chelsio/cxgb3/l2t.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.21.0


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

end of thread, other threads:[~2019-04-01 22:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-29 15:26 [PATCH 0/2 net-next] cxgb3/l2t: Fix undefined behaviour and use struct_size() helper Gustavo A. R. Silva
2019-03-29 15:27 ` [PATCH 1/2 net-next] cxgb3/l2t: Fix undefined behaviour Gustavo A. R. Silva
2019-03-29 15:28 ` [PATCH 2/2 net-next] cxgb3/l2t: Use struct_size() in kvzalloc() Gustavo A. R. Silva
2019-04-01 22:02 ` [PATCH 0/2 net-next] cxgb3/l2t: Fix undefined behaviour and use struct_size() helper David Miller
2019-04-01 22:36   ` Gustavo A. R. Silva

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.