Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netipsec Remove m_tag_find(PACKET_TAG_IPSEC_PENDING_TDB)...
details: https://anonhg.NetBSD.org/src/rev/e484c4267401
branches: trunk
changeset: 825498:e484c4267401
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Tue Jul 18 08:55:10 2017 +0000
description:
Remove m_tag_find(PACKET_TAG_IPSEC_PENDING_TDB) because nobody sets the tag
diffstat:
sys/netipsec/ipsec.c | 14 ++------------
1 files changed, 2 insertions(+), 12 deletions(-)
diffs (35 lines):
diff -r 6ce9247bb3e6 -r e484c4267401 sys/netipsec/ipsec.c
--- a/sys/netipsec/ipsec.c Tue Jul 18 08:22:55 2017 +0000
+++ b/sys/netipsec/ipsec.c Tue Jul 18 08:55:10 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipsec.c,v 1.102 2017/07/12 07:00:40 ozaki-r Exp $ */
+/* $NetBSD: ipsec.c,v 1.103 2017/07/18 08:55:10 ozaki-r Exp $ */
/* $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/netipsec/ipsec.c,v 1.2.2.2 2003/07/01 01:38:13 sam Exp $ */
/* $KAME: ipsec.c,v 1.103 2001/05/24 07:14:18 sakane Exp $ */
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.102 2017/07/12 07:00:40 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.103 2017/07/18 08:55:10 ozaki-r Exp $");
/*
* IPsec controller part.
@@ -787,16 +787,6 @@
return 0;
}
- /*
- * Peek at the outbound SP for this packet to determine if
- * it is a Fast Forward candidate.
- */
- mtag = m_tag_find(m, PACKET_TAG_IPSEC_PENDING_TDB, NULL);
- if (mtag != NULL) {
- m->m_flags &= ~M_CANFASTFWD;
- return 0;
- }
-
s = splsoftnet();
sp = ipsec4_checkpolicy(m, IPSEC_DIR_OUTBOUND, flags, &error, NULL);
if (sp != NULL) {
Home |
Main Index |
Thread Index |
Old Index