Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2024 11:24:52 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 54ac7b969f86 - main - ipsec: make key_do_allocsp() global
Message-ID:  <202407121124.46CBOquC092396@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=54ac7b969f8683b1398625cc283eb8383f95b263

commit 54ac7b969f8683b1398625cc283eb8383f95b263
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-12-25 21:56:45 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-07-12 03:29:31 +0000

    ipsec: make key_do_allocsp() global
    
    Sponsored by:   NVIDIA networking
---
 sys/netipsec/key.c | 1 -
 sys/netipsec/key.h | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c
index a077f8007e47..501f5c0a7339 100644
--- a/sys/netipsec/key.c
+++ b/sys/netipsec/key.c
@@ -622,7 +622,6 @@ static struct callout key_timer;
 
 static void key_unlink(struct secpolicy *);
 static void key_detach(struct secpolicy *);
-static struct secpolicy *key_do_allocsp(struct secpolicyindex *spidx, u_int dir);
 static struct secpolicy *key_getsp(struct secpolicyindex *);
 static struct secpolicy *key_getspbyid(u_int32_t);
 static struct mbuf *key_gather_mbuf(struct mbuf *,
diff --git a/sys/netipsec/key.h b/sys/netipsec/key.h
index 5c46c00feb39..d62426e6733e 100644
--- a/sys/netipsec/key.h
+++ b/sys/netipsec/key.h
@@ -49,6 +49,7 @@ struct xformsw;
 
 struct secpolicy *key_newsp(void);
 struct secpolicy *key_allocsp(struct secpolicyindex *, u_int);
+struct secpolicy *key_do_allocsp(struct secpolicyindex *spidx, u_int dir);
 struct secpolicy *key_msg2sp(struct sadb_x_policy *, size_t, int *);
 int key_sp2msg(struct secpolicy *, void *, size_t *);
 void key_addref(struct secpolicy *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407121124.46CBOquC092396>