vswitchd: Delete 'ifaces' pointer to interface when deleting interface.
authorBen Pfaff <blp@nicira.com>
Fri, 9 Jan 2009 23:18:36 +0000 (15:18 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 9 Jan 2009 23:18:36 +0000 (15:18 -0800)
commitc2fe4be578083800dce3f6a927569c2d46b2a1a5
treed9e9a3787a9a165355e55952be1ec3aa688be7c8
parente78d0d423ad9afbb60fdad0fabd7d61f605facc8
vswitchd: Delete 'ifaces' pointer to interface when deleting interface.

Otherwise we dereference a dangling pointer to the interface when we
look up the interface by datapath port index, causing a segfault.

Introduced in commit 150ac45, "vswitchd: Eliminate "can't forward to bad
port" when interfaces disappear," which deletes an interface that is known
to be in the datapath port index table.
vswitchd/bridge.c