Re: [PATCH net-next] strparser: Add __strp_unpause and use it in ktls.

2018-06-06 Thread David Miller
From: Doron Roberts-Kedes Date: Wed, 6 Jun 2018 09:33:28 -0700 > strp_unpause queues strp_work in order to parse any messages that > arrived while the strparser was paused. However, the process invoking > strp_unpause could eagerly parse a buffered message itself if it held > the sock lock. > >

[PATCH net-next] strparser: Add __strp_unpause and use it in ktls.

2018-06-06 Thread Doron Roberts-Kedes
strp_unpause queues strp_work in order to parse any messages that arrived while the strparser was paused. However, the process invoking strp_unpause could eagerly parse a buffered message itself if it held the sock lock. __strp_unpause is an alternative to strp_pause that avoids the scheduling ove