Diff for /src/sys/net/netisr.c between versions 1.13 and 1.14

version 1.13, 2004/04/20 01:52:26 version 1.14, 2004/04/21 18:13:51
Line 160  schednetisr(int num) Line 160  schednetisr(int num)
     KASSERT((num > 0 && num <= (sizeof(netisrs)/sizeof(netisrs[0]))),      KASSERT((num > 0 && num <= (sizeof(netisrs)/sizeof(netisrs[0]))),
         ("schednetisr: bad isr %d", num));          ("schednetisr: bad isr %d", num));
   
    if (!(pmsg = malloc(sizeof(struct netmsg), M_LWKTMSG, M_NOWAIT)))    pmsg = malloc(sizeof(struct netmsg), M_LWKTMSG, M_NOWAIT);
        return;    if (pmsg) {
        lwkt_initmsg(&pmsg->nm_lmsg, &netisr_afree_rport, 0,
    lwkt_initmsg(&pmsg->nm_lmsg, &netisr_afree_rport, 0,                    lwkt_cmd_func((void *)ni->ni_handler), lwkt_cmd_op_none);
                lwkt_cmd_func((void *)ni->ni_handler), lwkt_cmd_op_none);        lwkt_sendmsg(port, &pmsg->nm_lmsg);
    lwkt_sendmsg(port, &pmsg->nm_lmsg);    }
 }  }

Removed from v.1.13  
changed lines
  Added in v.1.14