mirror of https://github.com/F-Stack/f-stack.git
Fix #568, Insufficient condition in ff_rte_frm_extcl function.
This commit is contained in:
parent
6819118ae2
commit
7817f2be74
|
@ -449,7 +449,8 @@ void* ff_rte_frm_extcl(void* mbuf)
|
||||||
{
|
{
|
||||||
struct mbuf *bsd_mbuf = mbuf;
|
struct mbuf *bsd_mbuf = mbuf;
|
||||||
|
|
||||||
if ( bsd_mbuf->m_ext.ext_type==EXT_DISPOSABLE && bsd_mbuf->m_ext.ext_free==ff_mbuf_ext_free ){
|
if ( (bsd_mbuf->m_flags & M_EXT) &&
|
||||||
|
bsd_mbuf->m_ext.ext_type == EXT_DISPOSABLE && bsd_mbuf->m_ext.ext_free == ff_mbuf_ext_free ) {
|
||||||
return bsd_mbuf->m_ext.ext_arg1;
|
return bsd_mbuf->m_ext.ext_arg1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue