]> 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)
commit33252bee6297ce197aef113d23b50a6793fda490
tree7be7caf4f95bdd2c50749dc2d42319acbc250030
parenta92477e1ff06983da1175ab5102c7ae4c1b7f16b
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