]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: add missing attribute validation for hash
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2020 05:05:18 +0000 (21:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2020 21:28:48 +0000 (13:28 -0800)
commit9d3dddb78bee8f64154b1918498c5f3e7763a731
tree91316334937a23ca9365a49d6dce7dc11f7f47dc
parentd7af464882e4c3dcd8b592a69ce8508103bad8f1
openvswitch: add missing attribute validation for hash

Add missing attribute validation for OVS_PACKET_ATTR_HASH
to the netlink policy.

Fixes: 726d124c69ce ("net: openvswitch: add hash info to upcall")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/datapath.c