summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2015-09-11 18:38:28 -0700
committerDavid S. Miller <davem@davemloft.net>2015-09-15 16:25:41 -0700
commit982b527004826b40de1e821b123c70f05b41496c (patch)
tree7c706b19116441b2aaeb4e6fa1737464b16f4d18 /drivers
parent892aa01df2ad67237f213c8f9d9b491e908aa910 (diff)
downloadblackbird-op-linux-982b527004826b40de1e821b123c70f05b41496c.tar.gz
blackbird-op-linux-982b527004826b40de1e821b123c70f05b41496c.zip
openvswitch: Fix mask generation for nested attributes.
Masks were added to OVS flows in a way that was backwards compatible with userspace programs that did not generate masks. As a result, it is possible that we may receive flows that do not have a mask and we need to synthesize one. Generating a mask requires iterating over attributes and descending into nested attributes. For each level we need to know the size to generate the correct mask. We do this with a linked table of attribute types. Although the logic to handle these nested attributes was there in concept, there are a number of bugs in practice. Examples include incomplete links between tables, variable length attributes being treated as nested and missing sanity checks. Signed-off-by: Jesse Gross <jesse@nicira.com> Acked-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud