[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071017.213120.31749685.davem@davemloft.net>
Date: Wed, 17 Oct 2007 21:31:20 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: yoshfuji@...ux-ipv6.org, kaber@...sh.net, netdev@...r.kernel.org
Subject: Re: [PATCH 6/11] [IPSEC]: Move type and mode map into xfrm_state.c
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Wed, 17 Oct 2007 22:34:14 +0800
> [IPSEC]: Move type and mode map into xfrm_state.c
>
> The type and mode maps are only used by SAs, not policies. So it makes
> sense to move them from xfrm_policy.c into xfrm_state.c. This alos allows
> us to mark xfrm_get_type/xfrm_put_type/xfrm_get_mode/xfrm_put_mode as
> static.
>
> The only other change I've made in the move is to get rid of the casts
> on the request_module call for types. They're unnecessary because C
> will promote them to ints anyway.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists