Date: Thu, 29 Oct 2015 21:26:32 +0000 (UTC) From: "George V. Neville-Neil" <gnn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290165 - head/sys/netinet Message-ID: <201510292126.t9TLQWxW045591@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gnn Date: Thu Oct 29 21:26:32 2015 New Revision: 290165 URL: https://svnweb.freebsd.org/changeset/base/290165 Log: Set the proper direction to check for policies in this one case. Pointed out by: eri Sponsored by: Rubicon Communications (Netgate) Modified: head/sys/netinet/ip_ipsec.c Modified: head/sys/netinet/ip_ipsec.c ============================================================================== --- head/sys/netinet/ip_ipsec.c Thu Oct 29 21:25:46 2015 (r290164) +++ head/sys/netinet/ip_ipsec.c Thu Oct 29 21:26:32 2015 (r290165) @@ -159,7 +159,7 @@ ip_ipsec_output(struct mbuf **m, struct { struct secpolicy *sp; - if (!key_havesp(IPSEC_DIR_INBOUND)) + if (!key_havesp(IPSEC_DIR_OUTBOUND)) return 0; /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510292126.t9TLQWxW045591>