[XFRM] netlink: Move algorithm length calculation to its own function
authorThomas Graf <tgraf@suug.ch>
Wed, 22 Aug 2007 20:56:23 +0000 (13:56 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:21 +0000 (16:48 -0700)
Adds alg_len() to calculate the properly padded length of an
algorithm attribute to simplify the code.

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

No differences found