mirror of
https://github.com/torvalds/linux.git
synced 2025-08-15 14:11:42 +02:00
net: stream: add description for sk_stream_write_space()
Add a proper description for the sk_stream_write_space() function as previously marked by a FIXME comment. No functional changes. Signed-off-by: Suchit Karunakaran <suchitkarunakaran@gmail.com> Link: https://patch.msgid.link/20250716153404.7385-1-suchitkarunakaran@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
d61f6cb6f6
commit
8b7ab8eb52
1 changed files with 6 additions and 2 deletions
|
@ -23,9 +23,13 @@
|
|||
|
||||
/**
|
||||
* sk_stream_write_space - stream socket write_space callback.
|
||||
* @sk: socket
|
||||
* @sk: pointer to the socket structure
|
||||
*
|
||||
* FIXME: write proper description
|
||||
* This function is invoked when there's space available in the socket's
|
||||
* send buffer for writing. It first checks if the socket is writable,
|
||||
* clears the SOCK_NOSPACE flag indicating that memory for writing
|
||||
* is now available, wakes up any processes waiting for write operations
|
||||
* and sends asynchronous notifications if needed.
|
||||
*/
|
||||
void sk_stream_write_space(struct sock *sk)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue