aboutsummaryrefslogtreecommitdiff
path: root/datapath/flow.h
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2012-08-21 17:48:54 -0700
committerJesse Gross <jesse@nicira.com>2012-08-22 14:45:11 -0700
commite80478bac49b86e1b9b9cf91fd809e9443794e19 (patch)
tree7305865374ff7d2ca99ad39427ec6fff5e37dff1 /datapath/flow.h
parent327620d63e85999993c5240e36b5c8d742c3ba38 (diff)
datapath: Fix namespace refcount leak on failed init.
If a datapath fails to initialze fully (likely due to out-of-memory) then it's possible that we can take a reference to a network namespace but never release it. This fixes the problem by releasing any resources in the event of an error. Found by code inspection, it's likely to be extremely rare in practice. Signed-off-by: Jesse Gross <jesse@nicira.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'datapath/flow.h')
0 files changed, 0 insertions, 0 deletions