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 00:25:59 +0000 (17:25 -0700)
commit1a02b7689b01db7fff2cda87ac311389ff524283
tree5a6e7ea460df2a4b959862c374062817971e1a88
parentd445cc16a5ca451bc06a195825153bab87f2e07e
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