linux/net/core
Mandeep Singh Baines c5835df971 ethtool: EEPROM dump no longer works for tg3 and natsemi
In the ethtool user-space application, tg3 and natsemi over-ride the
default implementation of dump_eeprom(). In both tg3_dump_eeprom() and
natsemi_dump_eeprom(), there is a magic number check which is not
present in the default implementation.

Commit b131dd5d ("[ETHTOOL]: Add support for large eeproms") snipped
the code which copied the ethtool_eeprom structure back to
user-space. tg3 and natsemi are over-writing the magic number field
and then checking it in user-space. With the ethtool_eeprom copy
removed, the check is failing.

The fix is simple. Add the ethtool_eeprom copy back.

Signed-off-by: Mandeep Singh Baines <msb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-04-24 20:55:56 -07:00
..
datagram.c
dev_mcast.c
dev.c [NET]: Fix and allocate less memory for ->priv'less netdevices 2008-04-18 15:43:32 -07:00
dst.c
ethtool.c ethtool: EEPROM dump no longer works for tg3 and natsemi 2008-04-24 20:55:56 -07:00
fib_rules.c [NETNS]: Add netns refcnt debug to fib rules. 2008-04-16 02:01:56 -07:00
filter.c
flow.c
gen_estimator.c
gen_stats.c
iovec.c
kmap_skb.h
link_watch.c
Makefile
neighbour.c
net_namespace.c [NETNS]: Make netns refconting debug like a socket one. 2008-04-16 01:58:04 -07:00
net-sysfs.c [NET]: Expose netdevice dev_id through sysfs 2008-04-20 16:07:43 -07:00
net-sysfs.h
netevent.c
netpoll.c
pktgen.c
request_sock.c
rtnetlink.c [RTNETLINK]: Fix bogus ASSERT_RTNL warning 2008-04-23 22:10:48 -07:00
scm.c
skbuff.c
sock.c [NETNS]: Add netns refcnt debug for kernel sockets. 2008-04-16 01:59:46 -07:00
stream.c
sysctl_net_core.c
user_dma.c
utils.c