Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/netinet/raw_ip.c,v retrieving revision 1.53.4.2 retrieving revision 1.54 diff -u -p -r1.53.4.2 -r1.54 --- src/sys/netinet/raw_ip.c 2001/04/06 00:25:38 1.53.4.2 +++ src/sys/netinet/raw_ip.c 2001/01/24 09:04:15 1.54 @@ -1,4 +1,4 @@ -/* $NetBSD: raw_ip.c,v 1.53.4.2 2001/04/06 00:25:38 he Exp $ */ +/* $NetBSD: raw_ip.c,v 1.54 2001/01/24 09:04:15 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -175,14 +175,6 @@ rip_input(m, va_alist) continue; if (last) { struct mbuf *n; - -#ifdef IPSEC - /* check AH/ESP integrity. */ - if (ipsec4_in_reject_so(m, last->inp_socket)) { - ipsecstat.in_polvio++; - /* do not inject data to pcb */ - } else -#endif /*IPSEC*/ if ((n = m_copy(m, 0, (int)M_COPYALL)) != NULL) { if (last->inp_flags & INP_CONTROLOPTS || last->inp_socket->so_options & SO_TIMESTAMP) @@ -200,15 +192,6 @@ rip_input(m, va_alist) } last = inp; } -#ifdef IPSEC - /* check AH/ESP integrity. */ - if (last && ipsec4_in_reject_so(m, last->inp_socket)) { - m_freem(m); - ipsecstat.in_polvio++; - ipstat.ips_delivered--; - /* do not inject data to pcb */ - } else -#endif /*IPSEC*/ if (last) { if (last->inp_flags & INP_CONTROLOPTS || last->inp_socket->so_options & SO_TIMESTAMP)