]> git.proxmox.com Git - mirror_ovs.git/commit
ofp-parse: Harden checking with group selection_method.
authorJarno Rajahalme <jarno@ovn.org>
Fri, 16 Sep 2016 16:39:13 +0000 (09:39 -0700)
committerJarno Rajahalme <jarno@ovn.org>
Fri, 16 Sep 2016 16:39:13 +0000 (09:39 -0700)
commit60dfb5ed7e925fc98929e966fcf05d90d8f6939b
tree9ca04185dda88254940ef2cbf49480b310a88a15
parent8b6667285fe17bbc0b41b071d22eec5954ba3eb0
ofp-parse: Harden checking with group selection_method.

Only allow fields when "selection_method=hash".  Only allow
selection_method_param when a non-nil selection_method is given.

Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
lib/ofp-parse.c
tests/ofproto-dpif.at
utilities/ovs-ofctl.8.in