openvswitch: Rename GENEVE_TUN_OPTS() to TUN_METADATA_OPTS()
authorThomas Graf <tgraf@suug.ch>
Thu, 15 Jan 2015 02:53:57 +0000 (03:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jan 2015 06:11:41 +0000 (01:11 -0500)
commitd91641d9b5047b0a0a4d223a0b87306e6dff8c02
tree71be4ee76366751f04786fdc3c4409e84d7ff8bc
parentac5132d1a03fe1ebbefb2382b36e829dff056283
openvswitch: Rename GENEVE_TUN_OPTS() to TUN_METADATA_OPTS()

Also factors out Geneve validation code into a new separate function
validate_and_copy_geneve_opts().

A subsequent patch will introduce VXLAN options. Rename the existing
GENEVE_TUN_OPTS() to reflect its extended purpose of carrying generic
tunnel metadata options.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/flow.c
net/openvswitch/flow.h
net/openvswitch/flow_netlink.c