summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorFrank Blaschka <frank.blaschka@de.ibm.com>2010-03-22 09:59:48 -0700
committerDavid S. Miller <davem@davemloft.net>2010-03-22 09:59:48 -0700
commit70f60a220b33832ae4e2622b913f138892b6fe7b (patch)
treec88ff8ddc77ed97906670dcd5183f961e3e39b13 /drivers/s390
parent7668448ea91cda36661878da54c851f8eb239d8e (diff)
downloadop-kernel-dev-70f60a220b33832ae4e2622b913f138892b6fe7b.zip
op-kernel-dev-70f60a220b33832ae4e2622b913f138892b6fe7b.tar.gz
qeth: l3 fix build error in ipv6 addr list handling
Adapt qeth l3 to: commit c2e21293c054817c42eb5fa9c613d2ad51954136 (ipv6: convert addrconf list to hlist) converted lst_next member of inet6_ifaddr struct to a hlist. Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/net/qeth_l3_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c
index b3b6e87..0b06f06 100644
--- a/drivers/s390/net/qeth_l3_main.c
+++ b/drivers/s390/net/qeth_l3_main.c
@@ -1928,7 +1928,7 @@ static void qeth_l3_free_vlan_addresses6(struct qeth_card *card,
in6_dev = in6_dev_get(vlan_group_get_device(card->vlangrp, vid));
if (!in6_dev)
return;
- for (ifa = in6_dev->addr_list; ifa; ifa = ifa->lst_next) {
+ list_for_each_entry(ifa, &in6_dev->addr_list, if_list) {
addr = qeth_l3_get_addr_buffer(QETH_PROT_IPV6);
if (addr) {
memcpy(&addr->u.a6.addr, &ifa->addr,
OpenPOWER on IntegriCloud