[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.30.2.2 and 1.30.2.3

version 1.30.2.2, 2000/11/10 00:13:30 version 1.30.2.3, 2001/04/06 00:29:38
Line 733  udp6_output(in6p, m, addr6, control, p)
Line 733  udp6_output(in6p, m, addr6, control, p)
   
                 udp6stat.udp6s_opackets++;                  udp6stat.udp6s_opackets++;
 #ifdef IPSEC  #ifdef IPSEC
                 ipsec_setsocket(m, in6p->in6p_socket);                  if (ipsec_setsocket(m, in6p->in6p_socket) != 0) {
                           error = ENOBUFS;
                           goto release;
                   }
 #endif /*IPSEC*/  #endif /*IPSEC*/
                 error = ip6_output(m, in6p->in6p_outputopts, &in6p->in6p_route,                  error = ip6_output(m, in6p->in6p_outputopts, &in6p->in6p_route,
                             0, in6p->in6p_moptions, NULL);                              0, in6p->in6p_moptions, NULL);
Line 761  udp6_output(in6p, m, addr6, control, p)
Line 764  udp6_output(in6p, m, addr6, control, p)
   
                 udpstat.udps_opackets++;                  udpstat.udps_opackets++;
 #ifdef IPSEC  #ifdef IPSEC
                 ipsec_setsocket(m, NULL);       /*XXX*/                  (void)ipsec_setsocket(m, NULL); /*XXX*/
 #endif /*IPSEC*/  #endif /*IPSEC*/
                 error = ip_output(m, NULL, &in6p->in6p_route, 0 /*XXX*/);                  error = ip_output(m, NULL, &in6p->in6p_route, 0 /*XXX*/);
                 break;                  break;

Legend:
Removed from v.1.30.2.2  
changed lines
  Added in v.1.30.2.3

CVSweb <webmaster@jp.NetBSD.org>