Kuniyuki Iwashima
e400cfa38b
af_unix: Fix wrong ioctl(SIOCATMARK) when consumed OOB skb is at the head.
...
Even if OOB data is recv()ed, ioctl(SIOCATMARK) must return 1 when the
OOB skb is at the head of the receive queue and no new OOB data is queued.
Without fix:
# RUN msg_oob.no_peek.oob ...
# msg_oob.c:305:oob:Expected answ[0] (0) == oob_head (1)
# oob: Test terminated by assertion
# FAIL msg_oob.no_peek.oob
not ok 2 msg_oob.no_peek.oob
With fix:
# RUN msg_oob.no_peek.oob ...
# OK msg_oob.no_peek.oob
ok 2 msg_oob.no_peek.oob
Fixes: 314001f0bf ("af_unix: Add OOB support")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com >
Signed-off-by: Paolo Abeni <pabeni@redhat.com >
2024-06-27 12:05:01 +02:00
..
2024-02-09 14:12:01 -08:00
2024-05-29 09:25:15 -07:00
2024-05-07 16:19:14 -07:00
2024-05-09 10:01:01 -07:00
2024-05-13 18:19:09 -06:00
2024-06-01 15:49:42 -07:00
2024-06-12 20:18:00 +02:00
2024-06-10 09:48:30 -04:00
2024-06-05 09:41:33 +02:00
2024-06-12 18:24:24 -07:00
2024-04-02 18:20:00 -07:00
2024-06-21 10:50:17 +02:00
2024-03-06 12:43:01 +01:00
2024-06-24 18:15:22 -07:00
2024-06-25 11:37:45 +02:00
2024-04-22 13:05:19 -07:00
2024-05-22 20:14:47 -04:00
2024-05-25 10:48:57 -07:00
2024-06-06 13:34:33 +02:00
2024-04-16 17:14:55 -07:00
2024-05-09 10:01:01 -07:00
2024-05-22 20:14:47 -04:00
2024-06-25 17:22:49 -07:00
2024-06-20 11:21:53 +02:00
2024-05-21 12:09:36 -07:00
2024-03-11 09:53:22 +00:00
2024-02-09 14:12:01 -08:00
2024-05-17 12:15:22 -07:00
2024-05-13 18:19:09 -06:00
2024-06-14 09:14:08 +02:00
2024-03-06 21:01:26 +01:00
2024-02-29 14:24:56 -08:00
2024-05-03 13:29:41 +01:00
2024-06-10 19:49:10 -07:00
2024-06-01 16:21:44 -07:00
2024-06-19 18:41:59 +02:00
2024-05-13 14:58:12 -07:00
2024-04-23 10:09:49 -07:00
2024-06-17 13:06:23 +01:00
2024-05-23 12:49:37 -07:00
2024-04-26 12:20:01 +02:00
2024-06-21 10:17:30 +01:00
2024-05-16 19:38:05 -07:00
2024-05-13 18:19:09 -06:00
2024-04-01 10:49:28 +01:00
2024-05-16 09:47:45 +01:00
2024-05-13 18:19:09 -06:00
2024-03-25 15:40:22 +01:00
2024-05-13 18:19:09 -06:00
2024-05-09 10:01:01 -07:00
2024-06-18 15:24:24 +02:00
2024-05-13 18:19:09 -06:00
2024-06-05 09:42:57 +01:00
2024-06-13 11:07:32 -07:00
2024-05-08 12:19:12 +01:00
2024-06-18 15:08:57 +02:00
2024-05-23 12:03:26 +02:00
2024-06-27 12:05:01 +02:00
2024-05-23 12:04:36 -07:00
2024-06-12 10:07:56 +02:00
2024-05-13 18:19:09 -06:00
2024-06-05 09:42:30 +02:00
2024-05-29 17:34:49 -07:00
2024-05-08 10:35:09 +01:00
2024-01-31 16:41:16 -08:00
2024-05-13 18:19:19 -06:00
2024-04-24 09:43:54 +02:00