+220
−0
Loading
mainline inclusion from mainline-v6.10-rc6 commit d098d77232c375cb2cded4a7099f0a763016ee0d category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB6B61 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d098d77232c375cb2cded4a7099f0a763016ee0d -------------------------------- AF_UNIX's MSG_OOB functionality lacked thorough testing, and we found some bizarre behaviour. The new selftest validates every MSG_OOB operation against TCP as a reference implementation. This patch adds only a few tests with basic send() and recv() that do not fail. The following patches will add more test cases for SO_OOBINLINE, SIGURG, EPOLLPRI, and SIOCATMARK. Signed-off-by:Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by:
Paolo Abeni <pabeni@redhat.com> Signed-off-by:
Jiangshan Yi <yijiangshan@kylinos.cn>