]> git.baikalelectronics.ru Git - kernel.git/commit
flow: Extend flow informations with xfrm interface id.
authorSteffen Klassert <steffen.klassert@secunet.com>
Tue, 12 Jun 2018 12:06:57 +0000 (14:06 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Sat, 23 Jun 2018 14:07:05 +0000 (16:07 +0200)
commitd85cfd8bf8e44c096c643052f7ba3dd8625fb879
treeaebceb677c9b8614df76a07f5a6028f1a4ded290
parent324c27a7aabaead1daab28ce21c6abf4e67bad9f
flow: Extend flow informations with xfrm interface id.

Add a new flowi_xfrm structure with informations needed to do
a xfrm lookup. At the moment it keeps the informations about
the new xfrm interface id needed to lookup xfrm interfaces
that are introduced with a followup patch. We need this new
lookup key as other possible keys, like the ifindex is
already part of the xfrm selector and used as a key to
enforce the output device after the transformation in the
policy/state lookup.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Acked-by: Shannon Nelson <shannon.nelson@oracle.com>
Acked-by: Benedict Wong <benedictwong@google.com>
Tested-by: Benedict Wong <benedictwong@google.com>
Tested-by: Antony Antony <antony@phenome.org>
Reviewed-by: Eyal Birger <eyal.birger@gmail.com>
include/net/flow.h