Commit 7db454b9 authored by David S. Miller's avatar David S. Miller

xfrm: Const'ify ptr args to xfrm_state_ok.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f8848067
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment