logo       

Re: [PATCH 2.5.68] [BRIDGE] Use list_ macros for bridge port list.: msg#00190

Subject: Re: [PATCH 2.5.68] [BRIDGE] Use list_ macros for bridge port list.
   From: Stephen Hemminger <shemminger@xxxxxxxx>
   Date: Thu, 24 Apr 2003 13:54:31 -0700

   This replaces the singly linked list in net_bridge structure with the
   list_ macro's (doubly linked).   It makes deleting an interface easier
   since no lookup required; but the real motivation is to setup for the
   next step where bridge rwlock is replaced with spin_lock and RCU.

Maybe use list_for_each_entry where appropriate?  If those were
not used because *_rcu variants do not exist, just add the rcu
versions to linux/list.h

Thanks.




<Prev in Thread] Current Thread [Next in Thread>