Skip to content
Commit ba749ae9 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

[XFRM]: alg_key_len should be unsigned to avoid integer divides



alg_key_len is currently defined as 'signed int'. This unfortunatly
leads to integer divides in several paths.

Converting it to unsigned is safe and saves 208 bytes of text on i386.

Signed-off-by: default avatarEric Dumazet <dada1@cosmosbay.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d88c305a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment