muvarov replied on github web page:

platform/linux-generic/pktio/socket.c
line 14
@@ -643,6 +643,10 @@ static int sock_mmsg_recv(pktio_entry_t *pktio_entry, int 
index ODP_UNUSED,
                uint16_t pkt_len = msgvec[i].msg_len;
                int ret;
 
+               if (odp_unlikely(msgvec[i].msg_hdr.msg_flags & MSG_TRUNC)) {
+                       odp_packet_free(pkt);


Comment:
maybe to just set error bit and deliver this packet to application?

https://github.com/Linaro/odp/pull/397#discussion_r162011711
updated_at 2018-01-17 10:36:49

Reply via email to