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)
commit2536862311d2276454ddef9dc36d6551a4b400fd
tree7be7caf4f95bdd2c50749dc2d42319acbc250030
parentf376d4adfdd2d860aea3e99aa86e98324621ece7
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