aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/allwinner
diff options
context:
space:
mode:
authorJoe Stringer <joestringer@nicira.com>2015-10-19 19:19:00 -0700
committerDavid S. Miller <davem@davemloft.net>2015-10-21 19:33:43 -0700
commite754ec69ab69601420eb2ed58ece803d77c93f61 (patch)
tree7ad9198789e194ebcdd7422ea664e26728cbb1a7 /drivers/net/ethernet/allwinner
parentopenvswitch: Mark connections new when not confirmed. (diff)
downloadlinux-dev-e754ec69ab69601420eb2ed58ece803d77c93f61.tar.xz
linux-dev-e754ec69ab69601420eb2ed58ece803d77c93f61.zip
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 'drivers/net/ethernet/allwinner')
0 files changed, 0 insertions, 0 deletions