[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061207100903.GA27904@infradead.org>
Date: Thu, 7 Dec 2006 10:09:03 +0000
From: Christoph Hellwig <hch@...radead.org>
To: Stephen Hemminger <shemminger@...l.org>
Cc: "Amit S. Kale" <amitkale@...xen.com>,
Jeff Garzik <jgarzik@...ox.com>, netdev@...r.kernel.org
Subject: Re: [PATCH] netxen: sparse warning and ioctl bug fixes
On Tue, Dec 05, 2006 at 12:07:17PM -0800, Stephen Hemminger wrote:
> Fix sparse warnings and get rid of casts that hide misuse
> of __user pointers. There were two real bugs here:
> * ioctl was copying uninitialized stack om NETXEN_NIC_NAME
> * ioctl was dereferencing a user pointer
> in nettxen_nic_cmd_clear_stats.
>
> IMHO the ioctl usage in this driver is going to be more maintenance
> burden than useful. and should be removed.
Yes, please send a patch to kill the ioctls. Given all the other mess
in the driver I really wonder who ACKed it going in.
-
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