[XFRM] netlink: Clear up some of the CONFIG_XFRM_SUB_POLICY ifdef mess
authorThomas Graf <tgraf@suug.ch>
Wed, 22 Aug 2007 20:57:04 +0000 (13:57 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:21 +0000 (16:48 -0700)
commitcfbfd45a8c4c0c8dd8ed491caefdeffd94acf9e4
treec027768fe0768e2b502260bdd2b93c9ddcdf785f
parentc26445acbc292ab0466407db6d3bdcc5cbe1d03b
[XFRM] netlink: Clear up some of the CONFIG_XFRM_SUB_POLICY ifdef mess

Moves all of the SUB_POLICY ifdefs related to the attribute size
calculation into a function.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_user.c