commit | c26445acbc292ab0466407db6d3bdcc5cbe1d03b | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgraf@suug.ch> | Wed Aug 22 13:56:23 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 10 16:48:21 2007 -0700 |
tree | 15cc1f7b56929ffd269d5960d130e5c30c47277b | |
parent | c0144beaeca42b643f4d1632f2b24fdc6c48a170 [diff] |
[XFRM] netlink: Move algorithm length calculation to its own function 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>