diff options
| author | Kuniyuki Iwashima <[email protected]> | 2025-06-19 04:13:56 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-06-24 08:10:06 +0000 |
| commit | e1ca44e85f652a6ebd657c67c394894c1fdfb403 (patch) | |
| tree | 6b45ba656df00540cd6414135853ef59d9566e9c /net/unix/af_unix.c | |
| parent | af_unix: Don't leave consecutive consumed OOB skbs. (diff) | |
| download | kernel-e1ca44e85f652a6ebd657c67c394894c1fdfb403.tar.gz kernel-e1ca44e85f652a6ebd657c67c394894c1fdfb403.zip | |
af_unix: Add test for consecutive consumed OOB.
Let's add a test case where consecutive concumed OOB skbs stay
at the head of the queue.
Without the previous patch, ioctl(SIOCATMARK) assertion fails.
Before:
# RUN msg_oob.no_peek.ex_oob_ex_oob_oob ...
# msg_oob.c:305:ex_oob_ex_oob_oob:Expected answ[0] (0) == oob_head (1)
# ex_oob_ex_oob_oob: Test terminated by assertion
# FAIL msg_oob.no_peek.ex_oob_ex_oob_oob
not ok 12 msg_oob.no_peek.ex_oob_ex_oob_oob
After:
# RUN msg_oob.no_peek.ex_oob_ex_oob_oob ...
# OK msg_oob.no_peek.ex_oob_ex_oob_oob
ok 12 msg_oob.no_peek.ex_oob_ex_oob_oob
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
