On Tue, Jun 16, 2020 at 02:51:27AM +0800, Brown, Aaron F wrote:
> > From: Chen Yu <[email protected]>
> > Sent: Thursday, May 21, 2020 10:59 AM
> > To: Kirsher, Jeffrey T <[email protected]>; David S. Miller
> > <[email protected]>; Jakub Kicinski <[email protected]>; Kok, Auke-jan H
> > <[email protected]>; Jeff Garzik <[email protected]>
> > Cc: [email protected]; [email protected]; linux-
> > [email protected]; Brown, Len <[email protected]>; Rafael J. Wysocki
> > <[email protected]>; Shevchenko, Andriy <[email protected]>;
> > Neftin, Sasha <[email protected]>; Lifshits, Vitaly
> > <[email protected]>; Chen, Yu C <[email protected]>;
> > [email protected]
> > Subject: [PATCH 1/2] e1000e: Do not wake up the system via WOL if device
> > wakeup is disabled
> >
> > Currently the system will be woken up via WOL(Wake On Lan) even if the
> > device wakeup ability has been disabled via sysfs:
> >  cat /sys/devices/pci0000:00/0000:00:1f.6/power/wakeup
> >  disabled
> >
> > The system should not be woken up if the user has explicitly
> > disabled the wake up ability for this device.
> >
> > This patch clears the WOL ability of this network device if the
> > user has disabled the wake up ability in sysfs.
> >
> > Fixes: bc7f75fa9788 ("[E1000E]: New pci-express e1000 driver")
> > Reported-by: Rafael J. Wysocki <[email protected]>
> > Reviewed-by: Andy Shevchenko <[email protected]>
> > Cc: <[email protected]>
> > Signed-off-by: Chen Yu <[email protected]>
> > ---
> >  drivers/net/ethernet/intel/e1000e/netdev.c | 14 ++++++++++----
> >  1 file changed, 10 insertions(+), 4 deletions(-)
> >
> Tested-by: Aaron Brown <[email protected]>
> 
Thanks for testing, Aaron.

Best,
Chenyu

Reply via email to