[PATCH] ethtool_get_regs copy right number of bytes to user
If regs.len is smaller than reglen it's possible to copy more bytes out
than the user asked for.
Signed-off-by: Chris Wright <chrisw@osdl.org>
Showing
Please register or sign in to comment