|
@@ -990,11 +990,13 @@ void xfrm_state_insert(struct xfrm_state *x)
|
|
|
EXPORT_SYMBOL(xfrm_state_insert);
|
|
|
|
|
|
/* xfrm_state_lock is held */
|
|
|
-static struct xfrm_state *__find_acq_core(struct net *net, struct xfrm_mark *m,
|
|
|
+static struct xfrm_state *__find_acq_core(struct net *net,
|
|
|
+ const struct xfrm_mark *m,
|
|
|
unsigned short family, u8 mode,
|
|
|
u32 reqid, u8 proto,
|
|
|
const xfrm_address_t *daddr,
|
|
|
- const xfrm_address_t *saddr, int create)
|
|
|
+ const xfrm_address_t *saddr,
|
|
|
+ int create)
|
|
|
{
|
|
|
unsigned int h = xfrm_dst_hash(net, daddr, saddr, reqid, family);
|
|
|
struct xfrm_state *x;
|
|
@@ -1399,9 +1401,9 @@ xfrm_state_lookup_byaddr(struct net *net, u32 mark,
|
|
|
EXPORT_SYMBOL(xfrm_state_lookup_byaddr);
|
|
|
|
|
|
struct xfrm_state *
|
|
|
-xfrm_find_acq(struct net *net, struct xfrm_mark *mark, u8 mode, u32 reqid, u8 proto,
|
|
|
- const xfrm_address_t *daddr, const xfrm_address_t *saddr,
|
|
|
- int create, unsigned short family)
|
|
|
+xfrm_find_acq(struct net *net, const struct xfrm_mark *mark, u8 mode, u32 reqid,
|
|
|
+ u8 proto, const xfrm_address_t *daddr,
|
|
|
+ const xfrm_address_t *saddr, int create, unsigned short family)
|
|
|
{
|
|
|
struct xfrm_state *x;
|
|
|
|