CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2015/10/30 13:47:40
Modified files: sys/kern : uipc_mbuf.c uipc_socket.c Log message: Let m_resethdr() clear the whole mbuf packet header, not only the pf part. This allows to reuse this function in socket splicing. Reset the mbuf flags that are related to the packet header, but preserve the data flags. pair(4) tested by reyk@; sosplice(9) tested by bluhm@; OK mikeb@ reyk@