]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
authorDavid S. Miller <davem@davemloft.net>
Sun, 21 Oct 2018 18:54:28 +0000 (11:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Oct 2018 18:54:28 +0000 (11:54 -0700)
David Ahern's dump indexing bug fix in 'net' overlapped the
change of the function signature of inet6_fill_ifaddr() in
'net-next'.  Trivially resolved.

Signed-off-by: David S. Miller <davem@davemloft.net>
1  2 
net/core/neighbour.c
net/core/skbuff.c
net/ipv6/addrconf.c

Simple merge
Simple merge
index 2496b12bf721e78aae9ca1fb20b72806bf01005a,4e81ff2f45882450990e06cb94c84ec34f75c65e..e39c284e29541684824f4e47b2db24aa21a82769
@@@ -4972,9 -4928,13 +4972,9 @@@ static int in6_dump_addrs(struct inet6_
  
                /* unicast address incl. temp addr */
                list_for_each_entry(ifa, &idev->addr_list, if_list) {
-                       if (++ip_idx < s_ip_idx)
-                               continue;
+                       if (ip_idx < s_ip_idx)
+                               goto next;
 -                      err = inet6_fill_ifaddr(skb, ifa,
 -                                              NETLINK_CB(cb->skb).portid,
 -                                              cb->nlh->nlmsg_seq,
 -                                              RTM_NEWADDR,
 -                                              NLM_F_MULTI);
 +                      err = inet6_fill_ifaddr(skb, ifa, fillargs);
                        if (err < 0)
                                break;
                        nl_dump_check_consistent(cb, nlmsg_hdr(skb));