Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netipsec cosmetic
details: https://anonhg.NetBSD.org/src/rev/258c80b93004
branches: trunk
changeset: 318363:258c80b93004
user: maxv <maxv%NetBSD.org@localhost>
date: Thu Apr 19 07:22:29 2018 +0000
description:
cosmetic
diffstat:
sys/netipsec/xform_ah.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (44 lines):
diff -r 501f3e7b746f -r 258c80b93004 sys/netipsec/xform_ah.c
--- a/sys/netipsec/xform_ah.c Thu Apr 19 06:04:31 2018 +0000
+++ b/sys/netipsec/xform_ah.c Thu Apr 19 07:22:29 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xform_ah.c,v 1.90 2018/04/18 17:58:07 maxv Exp $ */
+/* $NetBSD: xform_ah.c,v 1.91 2018/04/19 07:22:29 maxv Exp $ */
/* $FreeBSD: src/sys/netipsec/xform_ah.c,v 1.1.4.1 2003/01/24 05:11:36 sam Exp $ */
/* $OpenBSD: ip_ah.c,v 1.63 2001/06/26 06:18:58 angelos Exp $ */
/*
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xform_ah.c,v 1.90 2018/04/18 17:58:07 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xform_ah.c,v 1.91 2018/04/19 07:22:29 maxv Exp $");
#if defined(_KERNEL_OPT)
#include "opt_inet.h"
@@ -778,7 +778,6 @@
protoff = tc->tc_protoff;
m = crp->crp_buf;
-
/* find the source port for NAT-T */
nat_t_ports_get(m, &dport, &sport);
@@ -878,7 +877,7 @@
sizeof(seq), &seq);
if (ipsec_updatereplay(ntohl(seq), sav)) {
AH_STATINC(AH_STAT_REPLAY);
- error = ENOBUFS; /* XXX as above */
+ error = ENOBUFS; /* XXX */
goto bad;
}
}
@@ -1160,7 +1159,7 @@
bad:
if (m)
m_freem(m);
- return (error);
+ return error;
}
/*
Home |
Main Index |
Thread Index |
Old Index