[Devel] Re: [PATCH][NET-2.6.24] Remove double dev->flags checking when calling dev_close()

David Miller davem at davemloft.net
Wed Oct 10 02:49:28 PDT 2007


From: Pavel Emelyanov <xemul at openvz.org>
Date: Tue, 09 Oct 2007 14:50:54 +0400

> The unregister_netdevice() and dev_change_net_namespace() 
> both check for dev->flags to be IFF_UP before calling the 
> dev_close(), but the dev_close() checks for IFF_UP itself, 
> so remove those unneeded checks.
> 
> Signed-off-by: Pavel Emelyanov <xemul at openvz.org>

Applied, thanks Pavel.




More information about the Devel mailing list