]> git.karo-electronics.de Git - linux-beck.git/commit
{pktgen, xfrm} Construct skb dst for tunnel mode transformation
authorFan Du <fan.du@windriver.com>
Fri, 3 Jan 2014 03:18:31 +0000 (11:18 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 3 Jan 2014 06:29:11 +0000 (07:29 +0100)
commitcf93d47ed4489cc349678f397290b3ecba868a3b
treef604d8c5a053039d6d5095bd8694d1d0eaaddcfe
parentde4aee7d69f2957c808572f2d5b5fc808ebe212a
{pktgen, xfrm} Construct skb dst for tunnel mode transformation

IPsec tunnel mode encapuslation needs to set outter ip header
with right protocol/ttl/id value with regard to skb->dst->child.

Looking up a rt in a standard way is absolutely wrong for every
packet transmission. In a simple way, construct a dst by setting
neccessary information to make tunnel mode encapuslation working.

Signed-off-by: Fan Du <fan.du@windriver.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/core/pktgen.c