From f073c60f73b0212a7c2cdde142b0e79e8a3981fa Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Tue, 3 Feb 2004 18:20:55 +0000 Subject: pass pcb rather than so. it is expected that per socket policy works again. --- sys/netinet/udp_usrreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netinet/udp_usrreq.c') diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 02a0e77eef916..38525832c7642 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -455,7 +455,7 @@ udp_append(last, ip, n, off) #ifdef IPSEC /* check AH/ESP integrity. */ - if (ipsec4_in_reject_so(n, last->inp_socket)) { + if (ipsec4_in_reject(n, last)) { ipsecstat.in_polvio++; m_freem(n); return; -- cgit v1.3