[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <125169438.hchJeoqxoY@al>
Date: Sat, 17 Aug 2013 00:58:03 +0200
From: Peter Wu <lekensteyn@...il.com>
To: Ben Hutchings <bhutchings@...arflare.com>
Cc: Francois Romieu <romieu@...zoreil.com>, netdev@...r.kernel.org,
nic_swsd@...ltek.com
Subject: Re: [PATCH] r8169: fix invalid register dump
On Thursday 15 August 2013 22:33:15 Ben Hutchings wrote:
> The kernel buffer size is max(regs->len,
> dev->ethtool_ops->get_regs_len()). So you can safely ignore regs->len
> and always read all your registers.
I see, that is something for a different patch though. While I am at it,
I checked all users of get_regs_len in drivers/net and found only one
other user that also checked the length. Patch will follow shortly.
--
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