]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: redirect dst output to lwtunnel output
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 21 Jul 2015 08:43:50 +0000 (10:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 17:39:04 +0000 (10:39 -0700)
commit6874853052deb7e2c6c7225dec6ed30c4d75b483
treebec1f97968e85a795f293ae7ae062c870e007f50
parentb40c84f8fbdbc8a51e4cc13ca8a90e9c75b8d3d6
ipv4: redirect dst output to lwtunnel output

For input routes with tunnel encap state this patch redirects
dst output functions to lwtunnel_output which later resolves to
the corresponding lwtunnel output function.

This has been tested to work with mpls ip tunnels.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c