[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110121.162432.77330574.davem@davemloft.net>
Date: Fri, 21 Jan 2011 16:24:32 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: segoon@...nwall.com
Cc: kernel-janitors@...r.kernel.org, chas@....nrl.navy.mil,
linux-atm-general@...ts.sourceforge.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] atm: idt77105: fix fetch_stats() result
From: Vasiliy Kulikov <segoon@...nwall.com>
Date: Fri, 21 Jan 2011 12:43:07 +0300
> 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@...nwall.com>
Applied, thanks.
--
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