xfrm: remove redundant parameter "int dir" in struct xfrm_mgr.acquire
authorFan Du <fan.du@windriver.com>
Wed, 15 Aug 2012 02:13:47 +0000 (10:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Aug 2012 22:13:30 +0000 (15:13 -0700)
commit65e0736bc2ac314bd374e93c24dd0698ac5ee66d
tree2cf89c8388186fe15ffb144e07d323fc216aa9f1
parent1f07b62f3205f6ed41759df2892eaf433bc051a1
xfrm: remove redundant parameter "int dir" in struct xfrm_mgr.acquire

Sematically speaking, xfrm_mgr.acquire is called when kernel intends to ask
user space IKE daemon to negotiate SAs with peers. IOW the direction will
*always* be XFRM_POLICY_OUT, so remove int dir for clarity.

Signed-off-by: Fan Du <fan.du@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h
net/key/af_key.c
net/xfrm/xfrm_state.c
net/xfrm/xfrm_user.c