Compare (mbuf *) with NULL, not 0.
MFC after: 3 days
This commit is contained in:
parent
c5cb8d604c
commit
e1968df17f
@ -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…
x
Reference in New Issue
Block a user