[BACK]Return to udp6_usrreq.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet6

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet6/udp6_usrreq.c between version 1.42 and 1.43

version 1.42, 2001/05/24 07:22:28 version 1.43, 2001/05/27 17:36:07
Line 1 
Line 1 
 /*      $NetBSD$        */  /*      $NetBSD$        */
 /*      $KAME: udp6_usrreq.c,v 1.84 2001/02/07 07:38:25 itojun Exp $    */  /*      $KAME: udp6_usrreq.c,v 1.86 2001/05/27 17:33:00 itojun Exp $    */
   
 /*  /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.   * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Line 400  udp6_input(mp, offp, proto)
Line 400  udp6_input(mp, offp, proto)
         if (in6p == 0) {          if (in6p == 0) {
                 udp6stat.udp6s_noport++;                  udp6stat.udp6s_noport++;
                 if (m->m_flags & M_MCAST) {                  if (m->m_flags & M_MCAST) {
                         printf("UDP6: M_MCAST is set in a unicast packet.\n");  
                         udp6stat.udp6s_noportmcast++;                          udp6stat.udp6s_noportmcast++;
                         goto bad;                          goto bad;
                 }                  }
Line 745  udp6_usrreq(so, req, m, addr6, control, 
Line 744  udp6_usrreq(so, req, m, addr6, control, 
         }          }
   
 release:  release:
         if (control) {          if (control)
                 printf("udp control data unexpectedly retained\n");  
                 m_freem(control);                  m_freem(control);
         }  
         if (m)          if (m)
                 m_freem(m);                  m_freem(m);
         return(error);          return(error);

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

CVSweb <webmaster@jp.NetBSD.org>