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
b2b09b1a1e
commit
0816b9cb45
|
@ -448,8 +448,9 @@ void * ff_mbuf_mtod(void* bsd_mbuf)
|
|||
void* ff_rte_frm_extcl(void* 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;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue