On Tue, May 17, 2016 at 01:53:20AM +0900, Hiroyuki Mikita wrote: > The rte_pktmbuf_detach() function should decrease refcnt on a direct > buffer. > > Signed-off-by: Hiroyuki Mikita <h.mikita89 at gmail.com> > --- > v2: > * introduced a new function rte_pktmbuf_detach2() which decrease refcnt. > * marked rte_pktmbuf_detach() as deprecated. > * added comments about refcnt to rte_pktmbuf_attach() and > rte_pktmbuf_detach(). > * checked refcnt when detaching in unit tests. > * added this issue to release notes. > Rather than detach2, would unattach be better?
/Bruce