Skip to content
Commit e98e4456 authored by Eyal Birger's avatar Eyal Birger Committed by Steffen Klassert
Browse files

xfrm interface: store xfrmi contexts in a hash by if_id



xfrmi_lookup() is called on every packet. Using a single list for
looking up if_id becomes a bottleneck when having many xfrm interfaces.

Signed-off-by: default avatarEyal Birger <eyal.birger@gmail.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent 2749c697
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment