datapath: Use a single attribute array for parsing values and masks.
authorJesse Gross <jesse@nicira.com>
Fri, 21 Jun 2013 00:08:09 +0000 (17:08 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 21 Jun 2013 23:21:07 +0000 (16:21 -0700)
commit944aa343cdf7838a95ff99d265ce421fa1a22dc0
treeec1670f07f90ed7cb0b9df22d53b212928814388
parentb5889101243ef5dc8d72235fcd6a4ba6193da71d
datapath: Use a single attribute array for parsing values and masks.

When parsing flow Netlink messages we currently have arrays to hold the
attribute pointers for both values and masks. This results in a large
stack, which some compilers warn about. It's not actually necessary
to have both arrays at the same time, so we can collapse this to a
single array.

Reported-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/flow.c