diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-24 00:07:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-24 02:07:37 -0500 |
commit | 19bd62441c36279ab33e311faebd357ef04ba344 (patch) | |
tree | d9666f25d4212876d7feb0d75303ac246c8846ef /net/ipv4/xfrm4_state.c | |
parent | 214e005bc32c7045b8554f9f0fb07b3fcce2cd42 (diff) |
xfrm: Const'ify tmpl and address arguments to ->init_temprop()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_state.c')
-rw-r--r-- | net/ipv4/xfrm4_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/xfrm4_state.c b/net/ipv4/xfrm4_state.c index 19eb56067727..983eff248988 100644 --- a/net/ipv4/xfrm4_state.c +++ b/net/ipv4/xfrm4_state.c | |||
@@ -37,8 +37,8 @@ __xfrm4_init_tempsel(struct xfrm_selector *sel, const struct flowi *fl) | |||
37 | } | 37 | } |
38 | 38 | ||
39 | static void | 39 | static void |
40 | xfrm4_init_temprop(struct xfrm_state *x, struct xfrm_tmpl *tmpl, | 40 | xfrm4_init_temprop(struct xfrm_state *x, const struct xfrm_tmpl *tmpl, |
41 | xfrm_address_t *daddr, xfrm_address_t *saddr) | 41 | const xfrm_address_t *daddr, const xfrm_address_t *saddr) |
42 | { | 42 | { |
43 | x->id = tmpl->id; | 43 | x->id = tmpl->id; |
44 | if (x->id.daddr.a4 == 0) | 44 | if (x->id.daddr.a4 == 0) |