[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.116 and 1.116.2.1

version 1.116, 2004/03/24 15:34:54 version 1.116.2.1, 2004/03/31 19:58:54
Line 430  udp6_input(mp, offp, proto)
Line 430  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;
           } else if (in6_cksum(m, IPPROTO_UDP, off, ulen) != 0) {
                 udp6stat.udp6s_badsum++;                  udp6stat.udp6s_badsum++;
                 goto bad;                  goto bad;
         }          }

Legend:
Removed from v.1.116  
changed lines
  Added in v.1.116.2.1

CVSweb <webmaster@jp.NetBSD.org>