[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about -DDIAGNOSTICS and netinet/ip_input.c



"Philip A. Prindeville" wrote:

To make sure I understand absolutely correctly...

I should remove the following four lines of code to fix this.

>    254  #ifdef  DIAGNOSTIC
>    255          if (m->m_len < sizeof(struct ip))
>    256                  panic("ipintr mbuf too short");
>    257  #endif

Is this correct?

> 
> -Philip

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985