parent c0144beaeca42b643f4d1632f2b24fdc6c48a170 author Thomas Graf 1187816183 -0700 committer David S. Miller 1192060101 -0700 [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 Signed-off-by: David S. Miller Ä·¡