diff options
author | Dave Jones <davej@redhat.com> | 2013-06-18 04:26:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-20 08:02:49 +0200 |
commit | 2c0740e4e122239bcf6127fd2063733c5fb20c93 (patch) | |
tree | aabc3f15ca821169ffe88007b895d8661f531bf7 /net | |
parent | bnx2: use pdev->pm_cap instead of pci_find_capability(.., PCI_CAP_ID_PM) (diff) | |
download | linux-2c0740e4e122239bcf6127fd2063733c5fb20c93.tar.xz linux-2c0740e4e122239bcf6127fd2063733c5fb20c93.zip |
sctp: Convert __list_for_each use to list_for_each
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/sctp/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 57b568c38ef6..1de49c802d83 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); } |