projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fc3cb4
)
use flist_first_entry instead of flist_entry applied to 'next' list item
author
Denis Pronin
<dannftk@yandex.ru>
Sun, 10 Apr 2022 12:22:46 +0000
(15:22 +0300)
committer
Denis Pronin
<dannftk@yandex.ru>
Sun, 17 Apr 2022 14:13:36 +0000
(17:13 +0300)
use flist_first_entry in 'handle_xmits' function
Signed-off-by: Denis Pronin <dannftk@yandex.ru>
server.c
patch
|
blob
|
blame
|
history
diff --git
a/server.c
b/server.c
index 914a8c74cddaee7555bc27fa6fc236782e39f802..4c71bd449458aa44ecb65d43ea787962eba34058 100644
(file)
--- a/
server.c
+++ b/
server.c
@@
-1323,7
+1323,7
@@
static int handle_xmits(struct sk_out *sk_out)
sk_unlock(sk_out);
while (!flist_empty(&list)) {
- entry = flist_
entry(list.nex
t, struct sk_entry, list);
+ entry = flist_
first_entry(&lis
t, struct sk_entry, list);
flist_del(&entry->list);
ret += handle_sk_entry(sk_out, entry);
}