mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 19:21:17 +07:00
xfrm: Const'ify ptr args to xfrm_state_ok.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f8848067ca
commit
7db454b912
@ -1933,7 +1933,7 @@ xfrm_secpath_reject(int idx, struct sk_buff *skb, const struct flowi *fl)
|
||||
*/
|
||||
|
||||
static inline int
|
||||
xfrm_state_ok(struct xfrm_tmpl *tmpl, struct xfrm_state *x,
|
||||
xfrm_state_ok(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x,
|
||||
unsigned short family)
|
||||
{
|
||||
if (xfrm_state_kern(x))
|
||||
|
Loading…
Reference in New Issue
Block a user