This patch series improves tls_sw.c code by: 1) Removing redundant function decrypt_skb_update() argument. 2) Using correct socket callback for flagging data availability. 3) Removing redundant variable assignments and wakeup callbacks. 4) Removing redundant dynamic array allocation. 5) Using common error checking code for zero-copy, non zero-copy modes.
The patches do not fix any functional bug. Hence "Fixes:" tag has not been used. Vakul Garg (5): net/tls: Do not enable zero-copy prematurely net/tls: Use socket data_ready callback on record availability net/tls: Remove redundant variable assignments and wakeup net/tls: Remove redundant array allocation. net/tls: Rework error checking after decrypt_skb_update() net/tls/tls_sw.c | 45 ++++++++++++++++----------------------------- 1 file changed, 16 insertions(+), 29 deletions(-) -- 2.13.6