diff options
author | Eugene Shatokhin <eugene.shatokhin@rosalab.ru> | 2015-08-24 23:13:42 +0300 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-09-30 13:47:38 +0200 |
commit | 3c09b8d5a113683a58b48c85930afc8ea4c37bcf (patch) | |
tree | 0c2778213b99a828ad1f6b96d2c7e3608fc70c6b /net/lapb/lapb_in.c | |
parent | 48b478e1cabce50f545b71ef0229fa45d1cf1a28 (diff) |
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: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions