ip_tunnel: Rename & publish init_tunnel_flow
authorPetr Machata <petrm@mellanox.com>
Tue, 27 Feb 2018 13:53:38 +0000 (14:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Feb 2018 19:46:26 +0000 (14:46 -0500)
commitb0066da52ea53bae2b4ceed3f47d488df27dab66
treeddde1cf8ff06ac2b1379f00f1ae092df5f179b63
parentd1b2a6c4bed99fc7e8a11e7abcff19293d1974f5
ip_tunnel: Rename & publish init_tunnel_flow

Initializing struct flowi4 is useful for drivers that need to emulate
routing decisions made by a tunnel interface. Publish the
function (appropriately renamed) so that the drivers in question don't
need to cut'n'paste it around.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_tunnels.h
net/ipv4/ip_tunnel.c