[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.66.4.5 and 1.66.4.6

version 1.66.4.5, 2001/05/09 19:37:41 version 1.66.4.6, 2004/04/12 04:58:25
Line 379  udp6_input(mp, offp, proto)
Line 379  udp6_input(mp, offp, proto)
         /*          /*
          * Checksum extended UDP header and data.           * Checksum extended UDP header and data.
          */           */
         if (uh->uh_sum == 0)          if (uh->uh_sum == 0) {
                 udp6stat.udp6s_nosum++;                  udp6stat.udp6s_nosum++;
         else if (in6_cksum(m, IPPROTO_UDP, off, ulen) != 0) {                  goto bad;
           }
           if (in6_cksum(m, IPPROTO_UDP, off, ulen) != 0) {
                 udp6stat.udp6s_badsum++;                  udp6stat.udp6s_badsum++;
                 goto bad;                  goto bad;
         }          }

Legend:
Removed from v.1.66.4.5  
changed lines
  Added in v.1.66.4.6

CVSweb <webmaster@jp.NetBSD.org>