datapath: fix key size computation in key_attr_size()
authorAndy Zhou <azhou@nicira.com>
Thu, 12 Jun 2014 20:07:01 +0000 (13:07 -0700)
committerAndy Zhou <azhou@nicira.com>
Fri, 13 Jun 2014 00:06:01 +0000 (17:06 -0700)
commit5b80ff05dbe05cf8a5f9e5bded5494958dc53ef1
tree4461707f8cb0040cae64a74b8e232535e133ec3a
parente9ff80c35ccb3251907559b00d09018393d03f62
datapath: fix key size computation in key_attr_size()

The key_attr_size() was not updated when RECIRC_ID and DP_HASH
key fields are added to support recircualtion. This patch fixes it.

Reported-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
VMware-BZ: 1266214
datapath/datapath.c