]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20c8ef9dd4f9614fde1f6437b63228b89dd7eadb
treef06282d4c2c26f081500e7f2897a2cf6b5c4d3b7
parentd480a1441907c14def8dfa5f7898f7d9a45d4b3a
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