[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20111121.145309.1585525390358079784.davem@davemloft.net>
Date: Mon, 21 Nov 2011 14:53:09 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: chenhui.zhao@...escale.com
CC: netdev@...r.kernel.org
Subject: Re: [v2,7/7] gianfar: add support for wake-on-packet
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)"
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists