forcedeth: fix buffer overflow
authordavid decotigny <decot@googlers.com>
Fri, 24 Aug 2012 17:22:51 +0000 (17:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Aug 2012 17:04:27 +0000 (13:04 -0400)
commitba9aa134287f6a59886ea91e0dadaa8477dec9c2
tree27213aa8af9eae32ef1c20437d7ebe13c54191fc
parent6cc2ff82492d89f763e69ea6b8681926aceda610
forcedeth: fix buffer overflow

Found by manual code inspection.

Tested: compile, reboot, ethtool -d ethX

Signed-off-by: David Decotigny <decot@googlers.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nvidia/forcedeth.c