Skip to content

net: fix roundup issue in kmalloc_reserve()

Ajay Kaher netdev stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: add SKB_HEAD_ALIGN() helperinclude/linux/skbuff.h net/core/skbuff.c+14 -120 replies
2/4net: remove osize variable in __alloc_skb()net/core/skbuff.c+4 -60 replies
3/4net: factorize code in kmalloc_reserve()net/core/skbuff.c+11 -160 replies
4/4net: deal with integer overflows in kmalloc_reserve()net/core/skbuff.c+8 -20 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchSoheil Hassas YeganehPaolo AbeniAlexander Duyck
1/4A-b A-b R-b
2/4A-b A-b R-b
3/4A-b A-b R-b
4/4

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 0/4 v6.1.y] net: fix roundup issue in kmalloc_reserve()

From: Eric Dumazet <[email protected]>

This patch series is to backport upstream commit:
915d975b2ffa: net: deal with integer overflows in kmalloc_reserve()

patch 1-3/4 backport requires to apply patch 4/4 to fix roundup issue in kmalloc_reserve()

1/4 net: add SKB_HEAD_ALIGN() helper
2/4 net: remove osize variable in __alloc_skb() 3/4 net: factorize code in kmalloc_reserve()
4/4 net: deal with integer overflows in kmalloc_reserve()

 include/linux/skbuff.h |  8 ++++++++
 net/core/skbuff.c      | 49 +++++++++++++++++++++----------------------------
 2 files changed, 29 insertions(+), 28 deletions(-)
Signature · 1 line
2.7.4