summaryrefslogtreecommitdiffhomepage
path: root/src/receive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/receive.c')
-rw-r--r--src/receive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/receive.c b/src/receive.c
index e5ce217..5f5e276 100644
--- a/src/receive.c
+++ b/src/receive.c
@@ -249,7 +249,7 @@ static inline bool skb_decrypt(struct sk_buff *skb,
struct noise_symmetric_key *key,
simd_context_t simd_context)
{
- struct scatterlist sg[MAX_SKB_FRAGS * 2 + 1];
+ struct scatterlist sg[MAX_SKB_FRAGS + 8];
struct sk_buff *trailer;
unsigned int offset;
int num_frags;