aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-22 17:51:44 -0800
committerDavid S. Miller <davem@davemloft.net>2011-02-22 17:51:44 -0800
commit73e5ebb20f2809e2eb0b904448481e010c2599d7 (patch)
treeb41c044d23f9b488ac45d743cf1a0c9e9e90ca79 /net
parent0c7b3eefb4ab8df245e94feb0d83c1c3450a3d87 (diff)
downloadkernel_samsung_smdk4412-73e5ebb20f2809e2eb0b904448481e010c2599d7.zip
kernel_samsung_smdk4412-73e5ebb20f2809e2eb0b904448481e010c2599d7.tar.gz
kernel_samsung_smdk4412-73e5ebb20f2809e2eb0b904448481e010c2599d7.tar.bz2
xfrm: Mark flowi arg to ->init_tempsel() const.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/xfrm4_state.c2
-rw-r--r--net/ipv6/xfrm6_state.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/xfrm4_state.c b/net/ipv4/xfrm4_state.c
index 4794762..19eb560 100644
--- a/net/ipv4/xfrm4_state.c
+++ b/net/ipv4/xfrm4_state.c
@@ -21,7 +21,7 @@ static int xfrm4_init_flags(struct xfrm_state *x)
}
static void
-__xfrm4_init_tempsel(struct xfrm_selector *sel, struct flowi *fl)
+__xfrm4_init_tempsel(struct xfrm_selector *sel, const struct flowi *fl)
{
sel->daddr.a4 = fl->fl4_dst;
sel->saddr.a4 = fl->fl4_src;
diff --git a/net/ipv6/xfrm6_state.c b/net/ipv6/xfrm6_state.c
index a67575d..68a14c0 100644
--- a/net/ipv6/xfrm6_state.c
+++ b/net/ipv6/xfrm6_state.c
@@ -20,7 +20,7 @@
#include <net/addrconf.h>
static void
-__xfrm6_init_tempsel(struct xfrm_selector *sel, struct flowi *fl)
+__xfrm6_init_tempsel(struct xfrm_selector *sel, const struct flowi *fl)
{
/* Initialize temporary selector matching only
* to current session. */