|
|
| version 1.9, 2004/03/22 06:38:17 | version 1.10, 2004/03/23 22:30:49 |
|---|---|
| Line 72 ip_mport(struct mbuf *m) | Line 72 ip_mport(struct mbuf *m) |
| lwkt_port_t port; | lwkt_port_t port; |
| int cpu; | int cpu; |
| if (ip_mthread_enable == 0) | |
| return (&netisr_cpu[0].td_msgport); | |
| if (m->m_pkthdr.len < sizeof(struct ip)) { | if (m->m_pkthdr.len < sizeof(struct ip)) { |
| ipstat.ips_tooshort++; | ipstat.ips_tooshort++; |
| return (NULL); | return (NULL); |
| Line 149 ip_mport(struct mbuf *m) | Line 146 ip_mport(struct mbuf *m) |
| } | } |
| KKASSERT(port->mp_putport != NULL); | KKASSERT(port->mp_putport != NULL); |
| if (ip_mthread_enable == 0) | |
| return (&netisr_cpu[0].td_msgport); | |
| return (port); | return (port); |
| } | } |