diff options
-rw-r--r-- | sys/dev/vx/if_vx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/vx/if_vx.c b/sys/dev/vx/if_vx.c index 3106de0..9dbf07f 100644 --- a/sys/dev/vx/if_vx.c +++ b/sys/dev/vx/if_vx.c @@ -400,6 +400,9 @@ vxstart(ifp) startagain: /* Sneak a peek at the next packet */ m = ifp->if_snd.ifq_head; + if (m == NULL) { + return; + } /* We need to use m->m_pkthdr.len, so require the header */ M_ASSERTPKTHDR(m); |