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:46:40 +0000 (16:46 -0700)
commitec79e0eed6e6156fed555d3405df4057bdc308e8
tree6154fea015f083c0ef225e73f8194820af0d32e1
parent47d6db10fceaa95e8d69885175ad188b501d3535
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