[BACK]Return to udp_usrreq.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/udp_usrreq.c between version 1.164 and 1.165

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));

Legend:
Removed from v.1.164  
changed lines
  Added in v.1.165

CVSweb <webmaster@jp.NetBSD.org>