[PATCH 0/4 v6.1.y] net: fix roundup issue in kmalloc_reserve()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Eric Dumazet <edumazet@xxxxxxxxxx>

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

-- 
2.7.4




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux