diff options
author | Samuel Gauthier <samuel.gauthier@6wind.com> | 2016-03-10 17:14:59 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-13 22:18:26 -0400 |
commit | 6f15cdbf8a8ac2e22767cc8b1eae225702733c95 (patch) | |
tree | 0c72d65d34a15e8514ac033cc8a798ab7af7e8c8 /net/sctp/outqueue.c | |
parent | 6bdaa5e9ed39b3b3328f35d218e8ad5a99cfc4d2 (diff) | |
download | op-kernel-dev-6f15cdbf8a8ac2e22767cc8b1eae225702733c95.zip op-kernel-dev-6f15cdbf8a8ac2e22767cc8b1eae225702733c95.tar.gz |
ovs: allow nl 'flow set' to use ufid without flow key
When we want to change a flow using netlink, we have to identify it to
be able to perform a lookup. Both the flow key and unique flow ID
(ufid) are valid identifiers, but we always have to specify the flow
key in the netlink message. When both attributes are there, the ufid
is used. The flow key is used to validate the actions provided by
the userland.
This commit allows to use the ufid without having to provide the flow
key, as it is already done in the netlink 'flow get' and 'flow del'
path. The flow key remains mandatory when an action is provided.
Signed-off-by: Samuel Gauthier <samuel.gauthier@6wind.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/outqueue.c')
0 files changed, 0 insertions, 0 deletions