| version 1.164, 2008/04/06 20:17:27 |
version 1.165, 2008/04/08 23:37:43 |
| Line 525 udp6_input(struct mbuf **mp, int *offp, |
|
| Line 525 udp6_input(struct mbuf **mp, int *offp, |
|
| plen = m->m_pkthdr.len - off; |
plen = m->m_pkthdr.len - off; |
| IP6_EXTHDR_GET(uh, struct udphdr *, m, off, sizeof(struct udphdr)); |
IP6_EXTHDR_GET(uh, struct udphdr *, m, off, sizeof(struct udphdr)); |
| if (uh == NULL) { |
if (uh == NULL) { |
| ip6stat.ip6s_tooshort++; |
ip6stat[IP6_STAT_TOOSHORT]++; |
| return IPPROTO_DONE; |
return IPPROTO_DONE; |
| } |
} |
| KASSERT(UDP_HDR_ALIGNED_P(uh)); |
KASSERT(UDP_HDR_ALIGNED_P(uh)); |