mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Compare (mbuf *) with NULL, not 0.
MFC after: 3 days
This commit is contained in:
parent
c5cb8d604c
commit
e1968df17f
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ ipxintr(struct mbuf *m)
|
|||
ipxstat.ipxs_total++;
|
||||
|
||||
if ((m->m_flags & M_EXT || m->m_len < sizeof(struct ipx)) &&
|
||||
(m = m_pullup(m, sizeof(struct ipx))) == 0) {
|
||||
(m = m_pullup(m, sizeof(struct ipx))) == NULL) {
|
||||
ipxstat.ipxs_toosmall++;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue