commit | efa95b01da18ad22af62f6d99a3243f3be8fd264 | [log] [tgz] |
---|---|---|
author | david decotigny <decot@googlers.com> | Tue Jul 08 15:14:41 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 08 20:50:53 2014 -0700 |
tree | c931e08ed3a660e859bdfc1afd1a2ac014485b8a | |
parent | f51de24356e49e4dcb5095e87717065580912120 [diff] |
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 <decot@googlers.com> Signed-off-by: David S. Miller <davem@davemloft.net>