Patchwork [5/7] sctp: Convert __list_for_each use to list_for_each

login
register
mail settings
Submitter Dave Jones
Date June 18, 2013, 2:26 a.m.
Message ID <201306180226.r5I2Qq8x010834@gelk.kernelslacker.org>
Download mbox | patch
Permalink /patch/252096/
State Accepted
Delegated to: David Miller
Headers show

Comments

Dave Jones - June 18, 2013, 2:26 a.m.
Signed-off-by: Dave Jones <davej@redhat.com>
---
 net/sctp/protocol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

netdev: patches 1-4 & 6 are independant to this, and 7 won't be
merged until this one gets to Linus' tree.
David Miller - June 20, 2013, 6:03 a.m.
From: Dave Jones <davej@redhat.com>
Date: Mon, 17 Jun 2013 22:26:52 -0400

> Signed-off-by: Dave Jones <davej@redhat.com>

Applied, thanks Dave.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c
index eaee00c..3b70b76 100644
--- a/net/sctp/protocol.c
+++ b/net/sctp/protocol.c
@@ -178,7 +178,7 @@  static void sctp_get_local_addr_list(struct net *net)
 
 	rcu_read_lock();
 	for_each_netdev_rcu(net, dev) {
-		__list_for_each(pos, &sctp_address_families) {
+		list_for_each(pos, &sctp_address_families) {
 			af = list_entry(pos, struct sctp_af, list);
 			af->copy_addrlist(&net->sctp.local_addr_list, dev);
 		}