Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\request_sock.h Create Date:2022-07-28 06:09:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:reqsk_queue_remove

Proto:static inline struct request_sock *reqsk_queue_remove(struct request_sock_queue *queue, struct sock *parent)

Type:struct request_sock

Parameter:

TypeParameterName
struct request_sock_queue *queue
struct sock *parent
196  spin_lock_bh( & rskq_lock)
197  req = rskq_accept_head
198  If req Then
199  sk_acceptq_removed(parent)
200  WRITE_ONCE(rskq_accept_head, dl_next)
201  If (rskq_accept_head == NULL) Then rskq_accept_tail = NULL
204  spin_unlock_bh( & rskq_lock)
205  Return req