Hi ,
Recently, I use packetdrill to test vpp hoststack(v20.01) , and I find some problems in vcl:
1. When a socket fd is registered with EPOLLIN | EPOLLET using epoll_ctl, if data arrived , and, I don't call read. The next arriving of data would not trigger EPOLLIN, which is different from kernel.
2. In the function of writev , if iovcnt is 0. it will be in endless loop.
3. write , send ,sendto , read, recv, recvfrom should set errno EFAULT if buf is NULL. But in the vcl, the errno is EINVAL.
4 .In shutdown, the SHUT_RD and SHUT_WR seem don’t work.
Regards
Longfei.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group.
View/Reply Online (#15841): https://lists.fd.io/g/vpp-dev/message/15841 Mute This Topic: https://lists.fd.io/mt/72491376/21656 Mute #hoststack: https://lists.fd.io/mk?hashtag=hoststack&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-