OpenVZ Forum


Home » Mailing lists » Devel » [PATCH][NET-2.6.24] Remove double dev->flags checking when calling dev_close()
Re: [PATCH][NET-2.6.24] Remove double dev->flags checking when calling dev_close() [message #21516 is a reply to message #21452] Wed, 10 October 2007 09:49 Go to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: Pavel Emelyanov <xemul@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@openvz.org>

Applied, thanks Pavel.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 0/6][NET-2.6.24] Consolidate private allocations in seq files
Next Topic: [PATCH] Rewrite proc seq operations via seq_list_xxx ones
Goto Forum:
  


Current Time: Fri Oct 10 22:52:08 GMT 2025

Total time taken to generate the page: 0.10894 seconds