xfrm: Convert xfrm_addr_cmp() to boolean xfrm_addr_equal().
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Tue, 29 Jan 2013 12:48:50 +0000 (12:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jan 2013 03:58:40 +0000 (22:58 -0500)
commit70e94e66aec255aff276397f5ed3f3626c548f1c
treef8a266b768f73394271a58a90b7d8375705079df
parentff88b30c717f21dffba6784cae4d3287da16f6ef
xfrm: Convert xfrm_addr_cmp() to boolean xfrm_addr_equal().

All users of xfrm_addr_cmp() use its result as boolean.
Introduce xfrm_addr_equal() (which is equal to !xfrm_addr_cmp())
and convert all users.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h
net/key/af_key.c
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_state.c
net/xfrm/xfrm_user.c