Diff for /src/sys/net/netisr.c between versions 1.11 and 1.12

version 1.11, 2004/04/09 22:34:09 version 1.12, 2004/04/17 00:46:28
Line 101  netisr_queue(int num, struct mbuf *m) Line 101  netisr_queue(int num, struct mbuf *m)
         return (EIO);          return (EIO);
   
     /* use better message allocation system with limits later XXX JH */      /* use better message allocation system with limits later XXX JH */
    if (!(pmsg = malloc(sizeof(struct netmsg_packet), M_LWKTMSG, M_NOWAIT)))    pmsg = malloc(sizeof(struct netmsg_packet), M_LWKTMSG, M_WAITOK);
        return (ENOBUFS); 
   
     lwkt_initmsg_rp(&pmsg->nm_lmsg, &netisr_afree_rport, CMD_NETMSG_NEWPKT);      lwkt_initmsg_rp(&pmsg->nm_lmsg, &netisr_afree_rport, CMD_NETMSG_NEWPKT);
     pmsg->nm_packet = m;      pmsg->nm_packet = m;

Removed from v.1.11  
changed lines
  Added in v.1.12