]> git.hungrycats.org Git - linux/commit
[PATCH] Check cmd in plip_ioctl
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 2 Jun 2004 11:48:29 +0000 (07:48 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 2 Jun 2004 11:48:29 +0000 (07:48 -0400)
commitbe0cb2568b0a6eec37b2ba7ad639e6f243e711d2
tree1e3188d3a24cd8574b4c146af9bc241271a3eb69
parent20e743bb39fbfffbdd87223be4af22fc8cd673d8
[PATCH] Check cmd in plip_ioctl

I received a bug report that a PLIP interface was incorrectly identified
as wireless because plip_ioctl did not check what the value of cmd is
before processing the request.

This patch fixes exactly that.
drivers/net/plip.c