diff options
author | Eugene Shatokhin <eugene.shatokhin@rosalab.ru> | 2015-08-24 23:13:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-01 11:36:23 +0200 |
commit | 1db7ccf33f3c444a01a4d950fc6c23847524481e (patch) | |
tree | eaaa6704c67ab703c40434d5c9ba0e21b99cdbd5 /net/ipv6/exthdrs_offload.c | |
parent | a4240b5e7ac9f3718bd836471a27a212489585ac (diff) | |
download | lwn-1db7ccf33f3c444a01a4d950fc6c23847524481e.tar.gz lwn-1db7ccf33f3c444a01a4d950fc6c23847524481e.zip |
usbnet: Get EVENT_NO_RUNTIME_PM bit before it is cleared
[ Upstream commit f50791ac1aca1ac1b0370d62397b43e9f831421a ]
It is needed to check EVENT_NO_RUNTIME_PM bit of dev->flags in
usbnet_stop(), but its value should be read before it is cleared
when dev->flags is set to 0.
The problem was spotted and the fix was provided by
Oliver Neukum <oneukum@suse.de>.
Signed-off-by: Eugene Shatokhin <eugene.shatokhin@rosalab.ru>
Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv6/exthdrs_offload.c')
0 files changed, 0 insertions, 0 deletions