[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <eb3ff54b0801290714ja7e7e67t3349028b7db8dc5e@mail.gmail.com>
Date: Tue, 29 Jan 2008 17:14:50 +0200
From: "Rami Rosen" <ramirose@...il.com>
To: kaber@...sh.net, netdev@...r.kernel.org
Subject: [PATCH net-2.6.25] [MACVLAN] Setting macvlan_handle_frame_hook to NULL when rtnl_link_register() fails.
Hi,
In drivers/net/macvlan.c, when rtnl_link_register() fails
in macvlan_init_module(), there is no point to set it (second time in this
method) to macvlan_handle_frame; macvlan_init_module() will return a negative
number, so instead this patch sets macvlan_handle_frame_hook to NULL.
Regards,
Rami Rosen
Signed-off-by: Rami Rosen <ramirose@...il.com>
View attachment "patch.txt" of type "text/plain" (405 bytes)
Powered by blists - more mailing lists