datapath: Fix use-after-free bug in dp_notify.
authorPravin B Shelar <pshelar@nicira.com>
Thu, 7 Jun 2012 22:18:17 +0000 (15:18 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Thu, 7 Jun 2012 23:47:30 +0000 (16:47 -0700)
commiteebad56b6542e5018d28a6750b0979e80133bc6d
treea7d0dfefcf2ac1d8982d9f2935460c2b2d590716
parent4ad71abb2f6bc4e6b99b768d90df69d7af816aed
datapath: Fix use-after-free bug in dp_notify.

dp_notify, in unregister case, is accessing vport after detaching
it. Following patch fixes it.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/dp_notify.c