Date: Thu, 13 Nov 2014 12:58:33 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r274467 - head/sys/netipsec Message-ID: <201411131258.sADCwXi3045423@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Thu Nov 13 12:58:33 2014 New Revision: 274467 URL: https://svnweb.freebsd.org/changeset/base/274467 Log: Count statistics for the specific address family. MFC after: 1 week Sponsored by: Yandex LLC Modified: head/sys/netipsec/ipsec_output.c Modified: head/sys/netipsec/ipsec_output.c ============================================================================== --- head/sys/netipsec/ipsec_output.c Thu Nov 13 10:48:59 2014 (r274466) +++ head/sys/netipsec/ipsec_output.c Thu Nov 13 12:58:33 2014 (r274467) @@ -165,11 +165,11 @@ ipsec_process_done(struct mbuf *m, struc * doing further processing. */ if (isr->next) { - IPSECSTAT_INC(ips_out_bundlesa); /* XXX-BZ currently only support same AF bundles. */ switch (saidx->dst.sa.sa_family) { #ifdef INET case AF_INET: + IPSECSTAT_INC(ips_out_bundlesa); return ipsec4_process_packet(m, isr->next, 0, 0); /* NOTREACHED */ #endif @@ -177,6 +177,7 @@ ipsec_process_done(struct mbuf *m, struc #ifdef INET6 case AF_INET6: /* XXX */ + IPSEC6STAT_INC(ips_out_bundlesa); return ipsec6_process_packet(m, isr->next); /* NOTREACHED */ #endif /* INET6 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411131258.sADCwXi3045423>