]> git.baikalelectronics.ru Git - kernel.git/commit
lwtunnel: support dst output redirect function
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 21 Jul 2015 08:43:49 +0000 (10:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 17:39:04 +0000 (10:39 -0700)
commitb40c84f8fbdbc8a51e4cc13ca8a90e9c75b8d3d6
treea731e4ae211389d6ab5f722177379975a918b54f
parent5960fb03693e4262d80779da4d7470f0cb5b064a
lwtunnel: support dst output redirect function

This patch introduces lwtunnel_output function to call corresponding
lwtunnels output function to xmit the packet.

It adds two variants lwtunnel_output and lwtunnel_output6 for ipv4 and
ipv6 respectively today. But this is subject to change when lwtstate will
reside in dst or dst_metadata (as per upstream discussions).

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/lwtunnel.h
net/core/lwtunnel.c