Boris Pismenny wrote: > On 9/3/2019 7:31 AM, Jakub Kicinski wrote: > > Hi! > > > > This set is a grab bag of TLS cleanups accumulated in my tree > > in an attempt to avoid merge problems with net. Nothing stands > > out. First patch dedups context information. Next control path > > locking is very slightly optimized. Fourth patch cleans up > > ugly #ifdefs. > > > > Jakub Kicinski (5): > > net/tls: use the full sk_proto pointer > > net/tls: don't jump to return > > net/tls: narrow down the critical area of device_offload_lock > > net/tls: clean up the number of #ifdefs for CONFIG_TLS_DEVICE > > net/tls: dedup the record cleanup > > > > drivers/crypto/chelsio/chtls/chtls_main.c | 6 +- > > include/net/tls.h | 48 +++++++++----- > > net/tls/tls_device.c | 78 +++++++++++------------ > > net/tls/tls_main.c | 46 ++++--------- > > net/tls/tls_sw.c | 6 +- > > 5 files changed, 85 insertions(+), 99 deletions(-) > > LGTM > > Reviewed-by: Boris Pismenny <bor...@mellanox.com> >
Also LGTM. primarily reviewed the tls_{main|sw}.c pieces Reviewed-by: John Fastabend <john.fastab...@gmail.com>