[PATCH 4.10 38/62] macvlan: Fix device ref leak when purging bc_queue

2017-05-01 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu [ Upstream commit f6478218e6edc2a587b8f132f66373baa7b2497c ] When a parent macvlan device is destroyed we end up purging its broadcast queue without

[PATCH 4.10 38/62] macvlan: Fix device ref leak when purging bc_queue

2017-05-01 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu [ Upstream commit f6478218e6edc2a587b8f132f66373baa7b2497c ] When a parent macvlan device is destroyed we end up purging its broadcast queue without dropping the device reference