]> git.hungrycats.org Git - linux/commit
[PATCH] remove dev_get from wanrouter
authorStephen Hemminger <shemminger@osdl.org>
Sat, 10 Jan 2004 09:12:35 +0000 (04:12 -0500)
committerStephen Hemminger <shemminger@osdl.org>
Sat, 10 Jan 2004 09:12:35 +0000 (04:12 -0500)
commitb9db942b845b973f9db3966a05b1bc2168ac20d6
tree5b691195602854787fa7a4ccfac94cf278b660db
parent6e634db39d36ae62b59610b8f950a973ca610271
[PATCH] remove dev_get from wanrouter

The call to dev_get() in wanrouter_device_new_if is racy and redundant and should
be removed.  The later 'register_netdev()' does the same test internally and will
return the appropriate error if the name already exists.

This patch is against 2.6.0-test6.
Resend of earlier patch because it was ignored, or missed.
net/wanrouter/wanmain.c