* Re: [v2,7/7] gianfar: add support for wake-on-packet
@ 2011-11-21 19:53 David Miller
  0 siblings, 0 replies; only message in thread
From: David Miller @ 2011-11-21 19:53 UTC (permalink / raw)
  To: chenhui.zhao; +Cc: netdev
The ->gfar_set_wol() code doesn't validate that the requested settings
do not try to set bits outside of priv->wol_supported.
Just remove the check against "!priv->wol_supported" and replace it
with something like "!(wol->wolopts & ~priv->wol_supported)"
^ permalink raw reply	[flat|nested] only message in thread
only message in thread, other threads:[~2011-11-21 19:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-21 19:53 [v2,7/7] gianfar: add support for wake-on-packet David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).