Subject: Re: CVS commit: src/sys/netinet
To: None <simonb@wasabisystems.com>
From: Jun-ichiro itojun Hagino <itojun@itojun.org>
List: source-changes
Date: 09/25/2003 06:21:37
> Jun-ichiro itojun Hagino wrote:
> 
> > Module Name:	src
> > Committed By:	itojun
> > Date:		Fri Sep 12 09:55:24 UTC 2003
> > 
> > Modified Files:
> > 
> > 	src/sys/netinet: udp_usrreq.c
> > 
> > Log Message:
> > 
> > send icmp admin prohibit if socket policy mismatches.
> 
> @@ -546,6 +549,9 @@
>         /* check AH/ESP integrity. */
>         if (so != NULL && ipsec6_in_reject_so(m, so)) {
>                 ipsec6stat.in_polvio++;
> +               if ((n = m_copy(n, 0, M_COPYALL)) != NULL)
> +                       icmp6_error(n, ICMP6_DST_UNREACH,
> +                           ICMP6_DST_UNREACH_ADMIN, 0);
>                 return;
>         }
> 
> The first use of 'n' in this is as an argument to
> m_copy().  Should that be an 'm' instead?

	yes, tnx.

itojun