ip_tunnels: convert the mode field of ip_tunnel_info to flags
authorJiri Benc <jbenc@redhat.com>
Fri, 28 Aug 2015 18:48:19 +0000 (20:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2015 20:07:54 +0000 (13:07 -0700)
commit46fa062ad63146dd138ec0f017e71224471e8ea5
treef06282d4c2c26f081500e7f2897a2cf6b5c4d3b7
parentf6d3c19274c74ff17174df8078e0a14df003667f
ip_tunnels: convert the mode field of ip_tunnel_info to flags

The mode field holds a single bit of information only (whether the
ip_tunnel_info struct is for rx or tx). Change the mode field to bit flags.
This allows more mode flags to be added.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/geneve.c
drivers/net/vxlan.c
include/net/dst_metadata.h
include/net/ip_tunnels.h
net/ipv4/ip_gre.c
net/ipv4/route.c
net/ipv6/route.c