xfrm: Mark flowi arg to xfrm_resolve_and_create_bundle() const.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2011-02-22 18:38:51 -08:00
parent 3f0e18fb0e
commit 4ca2e68511

View File

@ -1586,7 +1586,7 @@ static int xfrm_expand_policies(const struct flowi *fl, u16 family,
static struct xfrm_dst * static struct xfrm_dst *
xfrm_resolve_and_create_bundle(struct xfrm_policy **pols, int num_pols, xfrm_resolve_and_create_bundle(struct xfrm_policy **pols, int num_pols,
struct flowi *fl, u16 family, const struct flowi *fl, u16 family,
struct dst_entry *dst_orig) struct dst_entry *dst_orig)
{ {
struct net *net = xp_net(pols[0]); struct net *net = xp_net(pols[0]);