[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.126 and 1.127

version 1.126, 2004/12/17 22:54:52 version 1.127, 2004/12/18 15:31:26
Line 430  udp6_input(struct mbuf **mp, int *offp, 
Line 430  udp6_input(struct mbuf **mp, int *offp, 
          * Checksum extended UDP header and data.  Maybe skip checksum           * Checksum extended UDP header and data.  Maybe skip checksum
          * on loopback interfaces.           * on loopback interfaces.
          */           */
         if (__predict_true(!(m->m_pkthdr.rcvif->if_flags &          if (__predict_true((m->m_flags & M_LOOP) == 0 ||
                              IFF_LOOPBACK) ||              udp_do_loopback_cksum)) {
                            udp_do_loopback_cksum)) {  
                 if (uh->uh_sum == 0) {                  if (uh->uh_sum == 0) {
                         udp6stat.udp6s_nosum++;                          udp6stat.udp6s_nosum++;
                         goto bad;                          goto bad;

Legend:
Removed from v.1.126  
changed lines
  Added in v.1.127

CVSweb <webmaster@jp.NetBSD.org>