[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.45 and 1.46

version 1.45, 1999/01/11 22:35:07 version 1.46, 1999/01/19 21:58:41
Line 164  udp_input(m, va_alist)
Line 164  udp_input(m, va_alist)
                 bzero(((struct ipovly *)ip)->ih_x1,                  bzero(((struct ipovly *)ip)->ih_x1,
                     sizeof ((struct ipovly *)ip)->ih_x1);                      sizeof ((struct ipovly *)ip)->ih_x1);
                 ((struct ipovly *)ip)->ih_len = uh->uh_ulen;                  ((struct ipovly *)ip)->ih_len = uh->uh_ulen;
                 if ((uh->uh_sum = in_cksum(m, len + sizeof (struct ip))) != 0) {                  if (in_cksum(m, len + sizeof (struct ip)) != 0) {
                         udpstat.udps_badsum++;                          udpstat.udps_badsum++;
                         m_freem(m);                          m_freem(m);
                         return;                          return;

Removed from v.1.45  
changed lines
  Added in v.1.46

CVSweb <webmaster@jp.NetBSD.org>