Re: [PATCH net] net/tls: Fix kernel panic when socket is in tls toe mode

2020-12-04 Thread kernel test robot
Hi Vinay, I love your patch! Perhaps something to improve: [auto build test WARNING on net/master] url: https://github.com/0day-ci/linux/commits/Vinay-Kumar-Yadav/net-tls-Fix-kernel-panic-when-socket-is-in-tls-toe-mode/20201205-051743 base: https://git.kernel.org/pub/scm/linux/kernel/git/d

[PATCH net] net/tls: Fix kernel panic when socket is in tls toe mode

2020-12-04 Thread Vinay Kumar Yadav
When socket is in tls-toe (TLS_HW_RECORD) and connections are established in kernel stack, on every connection close it clears tls context which is created once on socket creation, causing kernel panic. fix it by not initializing listen in kernel stack incase of tls-toe, allow listen in only adapte