]> err.no Git - linux-2.6/commit
[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)
commit2ae0bf69b716d07126f0a9c17fcc2d76da172cb6
treea7cbfcbfa3e5fe95ae77e1fc0a73745f657edf7a
parente89fe42cd03c8fd3686df82d8390a235717a66de
[VLAN]: Return proper error codes in register_vlan_device

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>
net/8021q/vlan.c