datapath: fix a bug in SF_FLOW_KEY_PUT macro
authorAndy Zhou <azhou@nicira.com>
Mon, 29 Jul 2013 20:26:08 +0000 (13:26 -0700)
committerJesse Gross <jesse@nicira.com>
Mon, 29 Jul 2013 20:39:18 +0000 (13:39 -0700)
commitded97873874ab357e939c00b326e5abd377fceec
tree0d219fcf0644e237c4bf758f53be7296024608f5
parent8ce28dc6a8b30a043a0a7c981f235c2dd4b84a7b
datapath: fix a bug in SF_FLOW_KEY_PUT macro

This bug will cause mask values to corrupt the flow key value. So far
the bug has not showed up because we don't write mask value when
there is no mask Netlink attributes.  However, it needs to be fixed for
the next and future commits where we will start to set default
values for key and mask for missing Netlink attributes.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/flow.c