[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20061213.163314.35468200.davem@davemloft.net>
Date: Wed, 13 Dec 2006 16:33:14 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: sri@...ibm.com
Cc: netdev@...r.kernel.org, lksctp-developers@...ts.sourceforge.net
Subject: Re: [PATCH 1/4][SCTP]: Handle address add/delete events in a more
efficient way.
From: Sridhar Samudrala <sri@...ibm.com>
Date: Wed, 13 Dec 2006 12:44:44 -0800
> [SCTP]: Handle address add/delete events in a more efficient way.
>
> Currently in SCTP, we maintain a local address list by rebuilding the whole
> list from the device list whenever we get a address add/delete event.
>
> This patch fixes it by only adding/deleting the address for which we
> receive the event.
>
> Also removed the sctp_local_addr_lock() which is no longer needed as we
> now use list_for_each_safe() to traverse this list. This fixes the bugs
> in sctp_copy_laddrs_xxx() routines where we do copy_to_user() while
> holding this lock.
>
> Signed-off-by: Sridhar Samudrala <sri@...ibm.com>
Applied, thanks Sridhar.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists