summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJoe Stringer <joestringer@nicira.com>2015-10-20 05:19:00 +0300
committerDavid S. Miller <davem@davemloft.net>2015-10-22 05:33:43 +0300
commite754ec69ab69601420eb2ed58ece803d77c93f61 (patch)
tree7ad9198789e194ebcdd7422ea664e26728cbb1a7 /tools
parent4f0909ee3d8e3514a274121f3bf217a4920fa12d (diff)
downloadlinux-e754ec69ab69601420eb2ed58ece803d77c93f61.tar.xz
openvswitch: Serialize nested ct actions if provided
If userspace provides a ct action with no nested mark or label, then the storage for these fields is zeroed. Later when actions are requested, such zeroed fields are serialized even though userspace didn't originally specify them. Fix the behaviour by ensuring that no action is serialized in this case, and reject actions where userspace attempts to set these fields with mask=0. This should make netlink marshalling consistent across deserialization/reserialization. Reported-by: Jarno Rajahalme <jrajahalme@nicira.com> Signed-off-by: Joe Stringer <joestringer@nicira.com> Acked-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions