aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net
diff options
context:
space:
mode:
authorFrank Blaschka <frank.blaschka@de.ibm.com>2010-03-22 12:59:48 -0400
committerDavid S. Miller <davem@davemloft.net>2010-03-22 12:59:48 -0400
commit70f60a220b33832ae4e2622b913f138892b6fe7b (patch)
treec88ff8ddc77ed97906670dcd5183f961e3e39b13 /drivers/s390/net
parent7668448ea91cda36661878da54c851f8eb239d8e (diff)
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/net')
-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 b3b6e872d806..0b06f065b18b 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,
1928 in6_dev = in6_dev_get(vlan_group_get_device(card->vlangrp, vid)); 1928 in6_dev = in6_dev_get(vlan_group_get_device(card->vlangrp, vid));
1929 if (!in6_dev) 1929 if (!in6_dev)
1930 return; 1930 return;
1931 for (ifa = in6_dev->addr_list; ifa; ifa = ifa->lst_next) { 1931 list_for_each_entry(ifa, &in6_dev->addr_list, if_list) {
1932 addr = qeth_l3_get_addr_buffer(QETH_PROT_IPV6); 1932 addr = qeth_l3_get_addr_buffer(QETH_PROT_IPV6);
1933 if (addr) { 1933 if (addr) {
1934 memcpy(&addr->u.a6.addr, &ifa->addr, 1934 memcpy(&addr->u.a6.addr, &ifa->addr,