[VLAN]: Return proper error codes in register_vlan_device
authorPatrick McHardy <kaber@trash.net>
Wed, 13 Jun 2007 19:06:43 +0000 (12:06 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:14:59 +0000 (22:14 -0700)
The returned device is unused, return proper error codes instead and avoid
having the ioctl handler guess the error.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found