ofproto/bond: properly maintain hash entry pr_rule
authorAndy Zhou <azhou@nicira.com>
Wed, 16 Apr 2014 15:01:32 +0000 (08:01 -0700)
committerAndy Zhou <azhou@nicira.com>
Wed, 16 Apr 2014 15:58:48 +0000 (08:58 -0700)
commit6c932bc8c5db7a9d4e264619eeb30af65bc3b9b6
tree580ad06ac962435d69e7280991fe839a353561b3
parent545b23f61fe72e77b37933e5b5fe3f6c4f4a9230
ofproto/bond: properly maintain hash entry pr_rule

This is a bug causing per hash entry's pr_rule pointer not properly
maintained; they became NULL after each rebalancing. This patch fixes
this bug.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
ofproto/bond.c