From: Fan Du Date: Fri, 3 Jan 2014 03:18:31 +0000 (+0800) Subject: {pktgen, xfrm} Construct skb dst for tunnel mode transformation X-Git-Tag: v3.14-rc1~94^2~201^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf93d47ed4489cc349678f397290b3ecba868a3b;p=pandora-kernel.git {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 Signed-off-by: Steffen Klassert --- Reading git-diff-tree failed