greybus: es2: fix use-after-free at disconnect
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 4 Nov 2015 17:55:12 +0000 (18:55 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 5 Nov 2015 04:35:18 +0000 (20:35 -0800)
commita51e8551e298841f26ccf02193caf2b69da2434c
tree2902f7b48fbb58c78c4dd6604a53ca8e40e7420f
parent357499df455d30290860a23a33b2eb723f9597ac
greybus: es2: fix use-after-free at disconnect

The interface private data is released as part of host-device removal
and must not be accessed afterwards.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/es2.c