From 9495a4989acc1c3b672ec61cc2434fc6e67820df Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Tue, 2 Mar 2021 03:31:26 +0000 Subject: Increase the size of iov in pfkey_sa() to be large enough for all possible options. ok tobhe@ --- sbin/iked/pfkey.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/iked') diff --git a/sbin/iked/pfkey.c b/sbin/iked/pfkey.c index a73fe0f1ccd..4ec1efc7847 100644 --- a/sbin/iked/pfkey.c +++ b/sbin/iked/pfkey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkey.c,v 1.76 2021/01/29 21:26:06 tobhe Exp $ */ +/* $OpenBSD: pfkey.c,v 1.77 2021/03/02 03:31:25 jsg Exp $ */ /* * Copyright (c) 2010-2013 Reyk Floeter @@ -40,7 +40,7 @@ #include "ikev2.h" #define ROUNDUP(x) (((x) + (PFKEYV2_CHUNK - 1)) & ~(PFKEYV2_CHUNK - 1)) -#define IOV_CNT 21 +#define IOV_CNT 27 #define PFKEYV2_CHUNK sizeof(uint64_t) #define PFKEY_REPLY_TIMEOUT 1000 -- cgit v1.2.3