]> git.baikalelectronics.ru Git - kernel.git/commit
lwt: Add support to redirect dst.input
authorTom Herbert <tom@herbertland.com>
Mon, 17 Aug 2015 20:42:24 +0000 (13:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Aug 2015 04:33:05 +0000 (21:33 -0700)
commitea21e320f082474b0e5240e85cb86d3194984257
tree7be7caf4f95bdd2c50749dc2d42319acbc250030
parenta8072a72c88a26829e237ca248dab8f928895d5c
lwt: Add support to redirect dst.input

This patch adds the capability to redirect dst input in the same way
that dst output is redirected by LWT.

Also, save the original dst.input and and dst.out when setting up
lwtunnel redirection. These can be called by the client as a pass-
through.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/lwtunnel.h
net/core/lwtunnel.c
net/ipv4/route.c
net/ipv6/route.c