]> git.proxmox.com Git - mirror_frr.git/commitdiff
Merge pull request #9650 from mjstapp/fix_dup_lookup_netlink
authorSri Mohana Singamsetty <srimohans@gmail.com>
Wed, 22 Sep 2021 23:18:19 +0000 (16:18 -0700)
committerGitHub <noreply@github.com>
Wed, 22 Sep 2021 23:18:19 +0000 (16:18 -0700)
zebra: stop asking for AF_BRIDGE interface info twice

zebra/if_netlink.c

index acd6697b65148664b7ac586819317964391a5c1c..28a64407e53e1eb9b74ae6ec0c4b0f52c9458d70 100644 (file)
@@ -1103,16 +1103,6 @@ int interface_lookup_netlink(struct zebra_ns *zns)
        if (ret < 0)
                return ret;
 
-       /* Get interface information - for bridge interfaces. */
-       ret = netlink_request_intf_addr(netlink_cmd, AF_BRIDGE, RTM_GETLINK,
-                                       RTEXT_FILTER_BRVLAN);
-       if (ret < 0)
-               return ret;
-       ret = netlink_parse_info(netlink_interface, netlink_cmd, &dp_info, 0,
-                                0);
-       if (ret < 0)
-               return ret;
-
        /* fixup linkages */
        zebra_if_update_all_links(zns);
        return 0;