[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.109 and 1.110

version 1.109, 2003/09/04 09:17:03 version 1.110, 2003/09/12 09:55:22
Line 500  udp4_sendup(m, off, src, so)
Line 500  udp4_sendup(m, off, src, so)
         /* check AH/ESP integrity. */          /* check AH/ESP integrity. */
         if (so != NULL && ipsec4_in_reject_so(m, so)) {          if (so != NULL && ipsec4_in_reject_so(m, so)) {
                 ipsecstat.in_polvio++;                  ipsecstat.in_polvio++;
                   if ((n = m_copy(m, 0, M_COPYALL)) != NULL)
                           icmp_error(n, ICMP_UNREACH, ICMP_UNREACH_ADMIN_PROHIBIT,
                               0, 0);
                 return;                  return;
         }          }
 #endif /*IPSEC*/  #endif /*IPSEC*/
Line 546  udp6_sendup(m, off, src, so)
Line 549  udp6_sendup(m, off, src, so)
         /* check AH/ESP integrity. */          /* check AH/ESP integrity. */
         if (so != NULL && ipsec6_in_reject_so(m, so)) {          if (so != NULL && ipsec6_in_reject_so(m, so)) {
                 ipsec6stat.in_polvio++;                  ipsec6stat.in_polvio++;
                   if ((n = m_copy(n, 0, M_COPYALL)) != NULL)
                           icmp6_error(n, ICMP6_DST_UNREACH,
                               ICMP6_DST_UNREACH_ADMIN, 0);
                 return;                  return;
         }          }
 #endif /*IPSEC*/  #endif /*IPSEC*/

Legend:
Removed from v.1.109  
changed lines
  Added in v.1.110

CVSweb <webmaster@jp.NetBSD.org>