netdev
[Top] [All Lists]

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

To: shemminger@xxxxxxxx
Subject: Re: [PATCH 2.5.68] [BRIDGE] Use list_ macros for bridge port list.
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Thu, 24 Apr 2003 13:31:54 -0700 (PDT)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20030424135431.11cf3fe6.shemminger@xxxxxxxx>
References: <20030424135431.11cf3fe6.shemminger@xxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
   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>