Fix kernel build after fcb3f813f3 .

By updating function arguments for ipsec_kmod_ctlinput() which is used
when loading IPSEC support via kernel modules.

Differential Revision:	https://reviews.freebsd.org/D36731
Sponsored by:	NVIDIA Networking
This commit is contained in:
Hans Petter Selasky 2022-10-04 15:41:39 +02:00
parent d97ecf714e
commit 9f69c0b87d
2 changed files with 3 additions and 4 deletions

View file

@ -193,8 +193,7 @@ int ipsec_kmod_pcbctl(struct ipsec_support * const, struct inpcb *,
struct sockopt *);
int ipsec_kmod_capability(struct ipsec_support * const, struct mbuf *, u_int);
size_t ipsec_kmod_hdrsize(struct ipsec_support * const, struct inpcb *);
int ipsec_kmod_ctlinput(struct ipsec_support * const, int,
struct sockaddr *, void *);
int ipsec_kmod_ctlinput(struct ipsec_support *, ipsec_ctlinput_param_t);
int ipsec_kmod_udp_input(struct ipsec_support * const, struct mbuf *, int, int);
int ipsec_kmod_udp_pcbctl(struct ipsec_support * const, struct inpcb *,
struct sockopt *);

View file

@ -367,8 +367,8 @@ IPSEC_KMOD_METHOD(int, ipsec_kmod_forward, sc,
)
IPSEC_KMOD_METHOD(int, ipsec_kmod_ctlinput, sc,
ctlinput, METHOD_DECL(struct ipsec_support * const sc, int code,
struct sockaddr *sa, void *v), METHOD_ARGS(code, sa, v)
ctlinput, METHOD_DECL(struct ipsec_support * const sc,
ipsec_ctlinput_param_t param), METHOD_ARGS(param)
)
IPSEC_KMOD_METHOD(int, ipsec_kmod_output, sc,