summaryrefslogtreecommitdiffstats
path: root/drivers/net/qla3xxx.h
diff options
context:
space:
mode:
authorVasiliy Kulikov <segoon@openwall.com>2011-01-22 01:24:23 +0100
committerDavid S. Miller <davem@davemloft.net>2011-01-22 01:24:23 +0100
commit2221eca0a2c0f7f9918efdcaa52fb8e1adff991f (patch)
tree84b5b7953ca47901c321def346ce56f6ebc5e5e6 /drivers/net/qla3xxx.h
parentnet_sched: accurate bytes/packets stats/rates (diff)
downloadlinux-2221eca0a2c0f7f9918efdcaa52fb8e1adff991f.tar.xz
linux-2221eca0a2c0f7f9918efdcaa52fb8e1adff991f.zip
atm: idt77105: fix fetch_stats() result
copy_to_user() used PRIV(dev)->stats instead of local stats variable. Zero stats were returned to user in case of (zero != 0), also memcpy() was pointless. Signed-off-by: Vasiliy Kulikov <segoon@openwall.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qla3xxx.h')
0 files changed, 0 insertions, 0 deletions