[BACK]Return to ip_input.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet/ip_input.c between version 1.1 and 1.2

version 1.1, 1993/03/21 09:45:37 version 1.2, 1993/05/04 05:41:18
Line 141  ipintr()
Line 141  ipintr()
         register struct ipq *fp;          register struct ipq *fp;
         register struct in_ifaddr *ia;          register struct in_ifaddr *ia;
         int hlen, s;          int hlen, s;
   #ifdef PARANOID
           static int busy = 0;
   
           if (busy)
                   panic("ipintr: called recursively\n");
           ++busy;
   #endif
 next:  next:
         /*          /*
          * Get next datagram off input queue and get IP header           * Get next datagram off input queue and get IP header
Line 150  next:
Line 156  next:
         s = splimp();          s = splimp();
         IF_DEQUEUE(&ipintrq, m);          IF_DEQUEUE(&ipintrq, m);
         splx(s);          splx(s);
         if (m == 0)          if (m == 0) {
   #ifdef PARANOID
                   --busy;
   #endif
                 return;                  return;
           }
 #ifdef  DIAGNOSTIC  #ifdef  DIAGNOSTIC
         if ((m->m_flags & M_PKTHDR) == 0)          if ((m->m_flags & M_PKTHDR) == 0)
                 panic("ipintr no HDR");                  panic("ipintr no HDR");

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb <webmaster@jp.NetBSD.org>