From: david decotigny Date: Tue, 8 Jul 2014 22:14:41 +0000 (-0700) Subject: netpoll: fix use after free X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~199 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efa95b01da18ad22af62f6d99a3243f3be8fd264;p=pandora-kernel.git netpoll: fix use after free After a bonding master reclaims the netpoll info struct, slaves could still hold a pointer to the reclaimed data. This patch fixes it: as soon as netpoll_async_cleanup is called for a slave (eg. when un-enslaved), we make sure that this slave doesn't point to the data. Signed-off-by: David Decotigny Signed-off-by: David S. Miller --- Reading git-diff-tree failed