[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190410180432.13852-1-jakub.kicinski@netronome.com>
Date: Wed, 10 Apr 2019 11:04:29 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: davem@...emloft.net
Cc: oss-drivers@...ronome.com, netdev@...r.kernel.org,
alexei.starovoitov@...il.com, vakul.garg@....com,
borisp@...lanox.com, Jakub Kicinski <jakub.kicinski@...ronome.com>
Subject: [PATCH net 0/3] net: tls: fix memory leaks and freeing skbs
Hi!
This series fixes two memory issues and a stack overflow.
First two patches are fairly simple leaks. Third patch
partially reverts an optimization made to the strparser
which causes creation of skb->frag_list->skb->frag_list...
chains of 100s of skbs, leading to recursive kfree_skb()
filling up the kernel stack.
Jakub Kicinski (3):
net/tls: fix the IV leaks
net/tls: don't leak partially sent record in device mode
net: strparser: partially revert "strparser: Call skb_unclone
conditionally"
include/net/tls.h | 2 ++
net/strparser/strparser.c | 12 +++++-------
net/tls/tls_device.c | 12 +++++++++++-
net/tls/tls_main.c | 22 ++++++++++++++++++++++
net/tls/tls_sw.c | 15 +--------------
5 files changed, 41 insertions(+), 22 deletions(-)
--
2.21.0
Powered by blists - more mailing lists