[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.131 and 1.132

version 1.131, 2001/03/27 02:24:38 version 1.132, 2001/04/13 23:30:22
Line 222  ipq_lock_try()
Line 222  ipq_lock_try()
 {  {
         int s;          int s;
   
         s = splimp();          /*
            * Use splvm() -- we're bloking things that would cause
            * mbuf allocation.
            */
           s = splvm();
         if (ipq_locked) {          if (ipq_locked) {
                 splx(s);                  splx(s);
                 return (0);                  return (0);
Line 237  ipq_unlock()
Line 241  ipq_unlock()
 {  {
         int s;          int s;
   
         s = splimp();          s = splvm();
         ipq_locked = 0;          ipq_locked = 0;
         splx(s);          splx(s);
 }  }
Line 343  ipintr()
Line 347  ipintr()
         struct mbuf *m;          struct mbuf *m;
   
         while (1) {          while (1) {
                 s = splimp();                  s = splnet();
                 IF_DEQUEUE(&ipintrq, m);                  IF_DEQUEUE(&ipintrq, m);
                 splx(s);                  splx(s);
                 if (m == 0)                  if (m == 0)

Legend:
Removed from v.1.131  
changed lines
  Added in v.1.132

CVSweb <webmaster@jp.NetBSD.org>