xfrm: use gre key as flow upper protocol info
authorTimo Teräs <timo.teras@iki.fi>
Wed, 3 Nov 2010 04:41:38 +0000 (04:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Nov 2010 18:44:04 +0000 (10:44 -0800)
commitcc9ff19da9bf76a2f70bcb80225a1c587c162e52
tree181efcd617a42a48fa94c51cfe9dc0e77b3b5775
parente1f2d8c2cc61d2b9472efe44e8a2b098336914b4
xfrm: use gre key as flow upper protocol info

The GRE Key field is intended to be used for identifying an individual
traffic flow within a tunnel. It is useful to be able to have XFRM
policy selector matches to have different policies for different
GRE tunnels.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow.h
include/net/xfrm.h
net/ipv4/ip_gre.c
net/ipv4/xfrm4_policy.c