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 22:18:17 +0000 (15:18 -0700)
commit39435725ace48273700b55def25b2358f66ff398
tree15988ee0053d009315859f9fd7dad284df899e5f
parent12804888e56f6551825f0864e374eb5bac427147
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