Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/netinet
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?
Simon.
--
Simon Burge <simonb%wasabisystems.com@localhost>
NetBSD Support and Service: http://www.wasabisystems.com/
Home |
Main Index |
Thread Index |
Old Index