From: jsg Date: Tue, 2 Mar 2021 03:31:25 +0000 (+0000) Subject: Increase the size of iov in pfkey_sa() to be large enough for all X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c8bf2e2d32f7556cd1f7ba65c3b94bf2358a4b0a;p=openbsd Increase the size of iov in pfkey_sa() to be large enough for all possible options. ok tobhe@ --- 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