Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1608934
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net] r8152: prevent the driver from transmitting packets with carrier off |
| Date | 2017-03-24 20:40 +0100 |
| Message-ID | <toDe3-6aU-29@gated-at.bofh.it> (permalink) |
| References | <to8WB-1rG-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Hayes Wang <hayeswang@realtek.com> Date: Thu, 23 Mar 2017 19:14:19 +0800 > The linking status may be changed when autosuspend. And, after > autoresume, the driver may try to transmit packets when the device > is carrier off, because the interrupt transfer doesn't update the > linking status, yet. And, if the device is in ALDPS mode, the device > would stop working. > > The another similar case is > 1. unplug the cable. > 2. interrupt transfer queue a work_queue for linking change. > 3. device enters the ALDPS mode. > 4. a tx occurs before the work_queue is called. > > Signed-off-by: Hayes Wang <hayeswang@realtek.com> Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net] r8152: prevent the driver from transmitting packets with carrier off Hayes Wang <hayeswang@realtek.com> - 2017-03-23 12:20 +0100 Re: [PATCH net] r8152: prevent the driver from transmitting packets with carrier off David Miller <davem@davemloft.net> - 2017-03-24 20:40 +0100
csiph-web