Message ID | 20240821200101.19082-1-jonathan.davies@nutanix.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <ovs-dev-bounces@openvswitch.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nutanix.com header.i=@nutanix.com header.a=rsa-sha256 header.s=proofpoint20171006 header.b=tqhQCHPM; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nutanix.com header.i=@nutanix.com header.a=rsa-sha256 header.s=selector1 header.b=OEYXKnCi; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Wpy1z6W04z1yf6 for <incoming@patchwork.ozlabs.org>; Thu, 22 Aug 2024 06:03:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4521A810C4; Wed, 21 Aug 2024 20:03:17 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id m3UJePOQttPZ; Wed, 21 Aug 2024 20:03:15 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.9.56; helo=lists.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN> DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 22C6C8109C Authentication-Results: smtp1.osuosl.org; dkim=fail reason="signature verification failed" (2048-bit key, unprotected) header.d=nutanix.com header.i=@nutanix.com header.a=rsa-sha256 header.s=proofpoint20171006 header.b=tqhQCHPM; dkim=fail reason="signature verification failed" (2048-bit key, unprotected) header.d=nutanix.com header.i=@nutanix.com header.a=rsa-sha256 header.s=selector1 header.b=OEYXKnCi Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp1.osuosl.org (Postfix) with ESMTPS id 22C6C8109C; Wed, 21 Aug 2024 20:03:15 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 0D274C07E7; Wed, 21 Aug 2024 20:03:15 +0000 (UTC) X-Original-To: ovs-dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 4F8E8C07E6 for <ovs-dev@openvswitch.org>; Wed, 21 Aug 2024 20:03:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 33F7540589 for <ovs-dev@openvswitch.org>; Wed, 21 Aug 2024 20:03:13 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id vgGdXF1GPPsr for <ovs-dev@openvswitch.org>; Wed, 21 Aug 2024 20:03:12 +0000 (UTC) Received-SPF: Permerror (mailfrom) identity=mailfrom; client-ip=148.163.155.12; helo=mx0b-002c1b01.pphosted.com; envelope-from=jond@nutanix.com; receiver=<UNKNOWN> DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org E4DEA404DF Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=nutanix.com DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org E4DEA404DF Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=nutanix.com header.i=@nutanix.com header.a=rsa-sha256 header.s=proofpoint20171006 header.b=tqhQCHPM; dkim=pass (2048-bit key, unprotected) header.d=nutanix.com header.i=@nutanix.com header.a=rsa-sha256 header.s=selector1 header.b=OEYXKnCi Received: from mx0b-002c1b01.pphosted.com (mx0b-002c1b01.pphosted.com [148.163.155.12]) by smtp2.osuosl.org (Postfix) with ESMTPS id E4DEA404DF for <ovs-dev@openvswitch.org>; Wed, 21 Aug 2024 20:03:11 +0000 (UTC) Received: from pps.filterd (m0127843.ppops.net [127.0.0.1]) by mx0b-002c1b01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47LEYpQI005934; Wed, 21 Aug 2024 13:01:10 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nutanix.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= proofpoint20171006; bh=7Ga6VrOhagp6rfm8eDJUqQlQe+zcFpnYQcRY6Z08Y 7o=; b=tqhQCHPMr6oNT7yxdL8/75D9AgYQpaOEmRtWyItNpd0M+zBbOOtXisjcq UA7GzXi4KRW394xC3OwMKUKHBjD84YArMz43axRM9cBz4KcQL5ymQcbyF+RexkSK rBsswEAAMgC9pHqz0qWLExrEfYPayYpaQAbAc387Ma/TlIPP0LDgs+yYjaSMoO+K WQHZY15Iq/xEniXDUbvVeAsXnjQY7Yjvv/DFKOggqQk3Obkyjn8OZjyteE6qa3Li 4aHxVHGSuzXWIuD81xGGuaY/4hxDzcbCZ2MDs56ynDqTqTzdTgYYhZqp1aVXNvDz 8nFD7X5LLHOURctprSZyWQeo8NDXw== Received: from bn8pr05cu002.outbound.protection.outlook.com (mail-eastus2azlp17011025.outbound.protection.outlook.com [40.93.12.25]) by mx0b-002c1b01.pphosted.com (PPS) with ESMTPS id 414g9d4qjf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Aug 2024 13:01:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sJkmoo2doU0nUXj5+FvP8XqeqPXxluRu7GJb9+an8oQjzVEdYxrzJAJcqKQfBTCeid5criiIUhvzgOABaVY8R5FnqbLEcy/GqmOYXFKEKPYwaZdmM/zugE/L1Uz2K6cHftRh4vtpOhPsBOYwRnZtLQLhx/+SxFPzngxnaVsl84F338Ux8UT8agjhS5Cf5SkcQIoVzOtfniFkJt2HChUY+hxkQ9g+p7qfJlBHkBf+xjTJOyvjrSvswgtkOMfWN2aJnb92bBFq3A43QrMe9e89WnVEunk9wv6gPSH2WA0PfrgE3BILPGPgYt1G5s9ayz5kxCAwda/QmawmmnO530bUhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7Ga6VrOhagp6rfm8eDJUqQlQe+zcFpnYQcRY6Z08Y7o=; b=oHovi9XFzozlSowmGLVqYKcYmc6Bd0fhZ6BmfksUR9xoiCa+cI3TzevARlauz2fvfoXOgW9nLKz9MqMuRtIJQboKnWXkDIUN3HlGsfW+YdcNk8ytukfu5+SoGmNHLc1KYt3OLs4LERbMzFt7MG3G5eglKw2qKELlxYUfG7k4Knj5V6x50iytpV0xhddXbTGu2seQeoEl0AlBDJTmLdu4/X5Mv/t4gvFpP7lHkr0TUljdfyltrbF0pjoRpyoyXqAVQBY/XjWrqd4vWWblKNSUSAv2RQIoKH3nhe0jJ19OnMxfNwRYnDab633nPnfGNdkhy/hy1S1gg+myFddUXATa2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nutanix.com; dmarc=pass action=none header.from=nutanix.com; dkim=pass header.d=nutanix.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nutanix.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7Ga6VrOhagp6rfm8eDJUqQlQe+zcFpnYQcRY6Z08Y7o=; b=OEYXKnCiicRrpDORaHc+uH5FxetkAC0SWkuLB7hAhNB57WRBDpHIb/kOjKfA51lMlzDgNN3RNwrhHVSQblg1IVQE52xeF+ki9hK4x29Rq4K2bMjzqGDr0SqghER1tswU4DjrPGLCr/lv6WX1KiH4QZmLD4v6j8jcITfI9abftTZygzUSzREZg+6gCQjOOCkf5iNc8HQQd4ywG6NfgihEznPREwQgUxZi0465Otd43ufaUyd73i2SCTLn60ORBEKCczjJehbTIbJ9BfhjmxzXu7qC2k3FEr0PJ/z6wXP8CSVtUG0Ho4gDaO5BlrpHrhd+PACNG0bqvZAGyxxF170SWQ== Received: from CH0PR02MB7964.namprd02.prod.outlook.com (2603:10b6:610:105::16) by DM8PR02MB8088.namprd02.prod.outlook.com (2603:10b6:8:1c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.19; Wed, 21 Aug 2024 20:01:07 +0000 Received: from CH0PR02MB7964.namprd02.prod.outlook.com ([fe80::dfe7:62b1:b932:fcdf]) by CH0PR02MB7964.namprd02.prod.outlook.com ([fe80::dfe7:62b1:b932:fcdf%5]) with mapi id 15.20.7897.014; Wed, 21 Aug 2024 20:01:06 +0000 From: Jonathan Davies <jonathan.davies@nutanix.com> To: ovs-dev@openvswitch.org Date: Wed, 21 Aug 2024 20:01:01 +0000 Message-ID: <20240821200101.19082-1-jonathan.davies@nutanix.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240821192015.1659988-1-robot@bytheb.org> References: <20240821192015.1659988-1-robot@bytheb.org> X-ClientProxiedBy: BYAPR07CA0071.namprd07.prod.outlook.com (2603:10b6:a03:60::48) To CH0PR02MB7964.namprd02.prod.outlook.com (2603:10b6:610:105::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH0PR02MB7964:EE_|DM8PR02MB8088:EE_ X-MS-Office365-Filtering-Correlation-Id: 5086d731-c977-4995-6c38-08dcc21bfe49 x-proofpoint-crosstenant: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|376014|52116014|366016|38350700014; X-Microsoft-Antispam-Message-Info: CxCSnHTAcTM4YrxIjXtg7MKdIwjgXRKWote8WVQrZfZlu3qUugXTkZ8J8gUqUg10ptgfFSYrxOIMlDUr55W/p7RcGtj71GrGTmdSX7hh+Rt293Pi3rIXeiP5KwyhDZAhuN6LHFD3+gg5r/DkbYPB5exqa5YjQkzNq6HtYXadcjGsWkIr8yC+/0gsBJPklc2vCtIQkT31W2h7/g99fIpwHN6lRwUKMfhNLh5NfjWo6n3MDwM99yCONF7T01pdkhDbqltZqX/N0BPwKcgvsjmkthHv5IvLWgvDWbm8hAlvUWX7BpziOFkFwSUCMzJ4DnQ9Cvs68eaRzI7/nmJ2O4dsTKSgNueLP9x781ZtczI51atS3UnacHchIGa7fMt87VwxqP6pDkreer0MSokjdvl2XMr6R/EcS2rCnBdub+n+oRUb+Bv1vwqrE57HxTOonrdyRVa369S8AZNXmMDO8UnaoY7tsoYpYzR3YGM5gTeTltm92z0R4GdBGL9waqQGLVUvIjzH1WiAToxh3nZiwoBnCyW3Aew8h6dH8jte9zkesmD9jSOxqXRGyjjCF39hIzozZaBrsStQiA4q0OX6GSvqikjRBlJriV9scG6kiBRYLwF3pTInZXFydmTvt8WMVmxoyGn2cmPVKhgWry5U6/nQqa3bPyp2mPx75qMCcnkEin06e042ZfDs5uBE+0731ph2XCkg+VTH4e3g6zH4k8q6qZfcnsZvYZdF+nuk1Ojb4rxpvofzDV7Gzj/+t3xERddnkNUCj+Q1Z01uZbgC3zSuyOIXqK5s9B+mh7wBbMoZMKfBQpGhRyzdXtMcXDdPvQ4qblM0gKEt9j+V/mVRyNTB3NuFNmNf6iDAp76JqCgP1ju1XInKKtAYLOY93QBsyXjNbHzjrtZVWDaxVY9sAtHBfl+IzkegphxHu67QJ7RYHHphC2e6NKNHns5RyPeMW27ct+wIjUePKC3hQYii4k2y1AR2aEe1zp2pv5OmAyqh2XDgeHpH6wN83hFlbeKUWybUfGWk+6gRrr55CIOs6M3IFeVfS6pZaCzg5nO+MvMhKoXn+1qA+YrTccJo8hqjKy8oXH9gVxXeVVmYAyXekWatCtGiP9hdvRY16QyIgqVBcO+sFhhmYs/BOi1u6HVU5Wyq9tPwX02QPEfXY1AhMdP+xHnJuTgJJB7D5LhjGhOUU/u5kfKon4BVKXRs07EfMwACgaO4o4Swrgz58cK/Thm7r/4jCi4bqHkd8W1SyNM4oLMTXiqDg1pEg7/FtGGOZTQPZHgFOJP1oeS08GtEUxnjST2Q4awAy/G9KhsgFCUw7iwZAluuZjDvEe0LRKVH5co3Y3aXPysrI9nKVu0QGwVHr3e/FnatDaFFe0eeATE06T1AF0VkT0viWrCL1v40bszqlz3gUqdCR77KqdCUFd8Cjg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH0PR02MB7964.namprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(52116014)(366016)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PBujtbIUS6EOKJ3YznKMJlOdBsi9RwkWptRLOmLvKBv4cia+9S6nMR44BUYOb2EGlFciiwN0GI9e0LhjBmgyNcOBPUKhL4F/kwLFxq2Rph/YIgMFtj9Wjyqp2s8Rq7pynleL09GPsJKKitlG9kk9XCtePXEA41yr1hYueMgMpAS56792Lap/HOD1F6MPtCNEBnD/zQbzuV1107uff5wAh4CixhndS8uHqgcHfU2pOyckIK62s7jRRkeHVGPnCMft5LPnyhW0VFrGYdld6X6hCURkAS31rIfXhhQ/cojaE0Mrn5VRHKXSSTB8jPCeMbMBvpMqAiUiH7DYW8U6HGmnVxtc32W3PPy1iu2yTG2XjocFQChip3vo31eaRl77M9vvxp9Ja++i9EW0ANeCfZzeUC9dSt+WRDsvis81vBF9maGtxpFb58f2d5oDWK2zHMM//PWvO6I+s8DYGGjwmV3eRsHQUjUNq3kYM2f8/6UxgI31SVli/sUReghe04rLepBF9Q2jil83YzYbyQoTxg0xe5xbJlU38bEFgyqI4VR2PBSZAiEdOqE/Nz7gaVPVlnjM0380cE3HM8Wtsjadg7bK57Goz11nwY1mT7uUPuFuyz1aIEvSvnIzRi1SwrtnFVBou9lRCfUD7NcYy53G6lVOl4s0SWbU/zRAQes6bDLFEQpyLkItPJV/CCBYJnTKS0XqabgCQCdFhl+lvXVRXwNZe/fpaCH32d05s7tKSA8hP9jPRm3o7C1+IzhwGrD0u6BR8gsrunMARBmedgWKEdMi3erSBKpGyoUzMuijWKqZzvubZ7/eHlOULJy3/JBM+2XzH2/LKFLZlMyFZYAKMZXXwGI+3YZB3HJxpatIKaMA2sCqjy/LNYCuzj1rZPUlGKMK++9sW5YxFN+TflNB2qDxn5f/aR8p0r/AKgC7G6fNkXYwqLe+7ZJLQAFGTriTC+ZFOMqgZSkGhs30/tA/0EY5ZyzMg6LJEHxlkdN6ry5DC+O0hkY/CtQkB8oScKEoxLLml/RoKuNIJhjp9S3IkGu8zQc9UCXd7exmutB3Ek59n9sJ8Z90JlAKv0dCWhlzSA64vmUxmPOmySuI+CchvKGN3VCe+dbiI+Glrr/X7ks9goZkOCs+QTvdtosaetgxuno0FIWqkSdkvwLzHMvf5ugyhuCmEagcyCEkrJDZDFBu9poSaWx31TYPjLHmeNmYF3jwMOCWBoULxwdGHoFF60YxIXolpxoQe7rhbWvz/88Nz0e/txEwtfPrO20IzzSqqK52Jr78HlDu6DrhRohlQ5qsFqKK1+LOl3yGJgx+whe1mn9mX3G4cQG8dVMeHauzAPJOah3CLexkuU7LwSWBT6QAH64ION0DAFjK7Wl7Nk9HElZyM/X6B4KmGQOuwJdjBh0hldFO3R999xkjya2L2oJqYlLdxUBnjWaX97Y9fbS3iU/in2SS2+CQIV6sLqJyY+5qAirxrvX+B/SOZ3nwGet05i0lWd9kF0DaKRjXSEtx5WRJ/RLBvukyz8KKPAvMb0VCIANkgk7wDozwAD5KY46NhQues8R4jaTfokpfuOHh/TbWVyS8AhXBG23Zj65R2usWlju3ozyPpbYkdSGrXCsgaw== X-OriginatorOrg: nutanix.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5086d731-c977-4995-6c38-08dcc21bfe49 X-MS-Exchange-CrossTenant-AuthSource: CH0PR02MB7964.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Aug 2024 20:01:06.8793 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bb047546-786f-4de1-bd75-24e5b6f79043 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FNwALjIMdV1l5W3k9fjqXct8Z3KlL9jzlyFy+eDf3E1trVZAmuSWwwFB+CvmivVxBHeEKRUuaOP/9L7D45KbxpRQWZ6muIT14O3alOXYnM0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR02MB8088 X-Proofpoint-GUID: VB6COrRPG8EXbJ5iIicD4munkZoX0Pzm X-Authority-Analysis: v=2.4 cv=UM2PHzfy c=1 sm=1 tr=0 ts=66c64785 cx=c_pps a=+Uvz/0742UIoYwQyQT1M/g==:117 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19 a=xqWC_Br6kY4A:10 a=yoJbH4e0A30A:10 a=0034W8JfsZAA:10 a=64Cc0HZtAAAA:8 a=sN_ealGnVAfDdPpptgIA:9 a=14NRyaPF5x3gF6G45PvQ:22 X-Proofpoint-ORIG-GUID: VB6COrRPG8EXbJ5iIicD4munkZoX0Pzm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-21_13,2024-08-19_03,2024-05-17_01 X-Proofpoint-Spam-Reason: safe Subject: [ovs-dev] [PATCH v2] ofproto/bond: Preserve active bond member over restarts X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: <ovs-dev.openvswitch.org> List-Unsubscribe: <https://mail.openvswitch.org/mailman/options/ovs-dev>, <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe> List-Archive: <http://mail.openvswitch.org/pipermail/ovs-dev/> List-Post: <mailto:ovs-dev@openvswitch.org> List-Help: <mailto:ovs-dev-request@openvswitch.org?subject=help> List-Subscribe: <https://mail.openvswitch.org/mailman/listinfo/ovs-dev>, <mailto:ovs-dev-request@openvswitch.org?subject=subscribe> Cc: nic@opencloud.tech, i.maximets@ovn.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" <ovs-dev-bounces@openvswitch.org> |
Series |
[ovs-dev,v2] ofproto/bond: Preserve active bond member over restarts
|
expand
|
Context | Check | Description |
---|---|---|
ovsrobot/apply-robot | warning | apply and check: warning |
ovsrobot/github-robot-_Build_and_Test | success | github build: passed |
diff --git a/ofproto/bond.c b/ofproto/bond.c index c31869a4c..0858de374 100644 --- a/ofproto/bond.c +++ b/ofproto/bond.c @@ -246,7 +246,7 @@ bond_create(const struct bond_settings *s, struct ofproto_dpif *ofproto) ovs_refcount_init(&bond->ref_cnt); hmap_init(&bond->pr_rule_ops); - bond->active_member_mac = eth_addr_zero; + bond->active_member_mac = s->active_member_mac; bond->active_member_changed = false; bond->primary = NULL;
The OVS DB has a bond_active_slave field. This gets read by port_configure_bond() into struct bond_settings' active_member_mac field. See commit 3e5aeeb5 ("bridge: Keep bond active slave selection across OVS restart") for the original rationale for preserving the active bond member. But since commit 30353934 ("ofproto/bond: Validate active-slave mac.") the bond_settings' active_member_mac field is ignored by bond_create(), which set bond->active_member_mac to eth_addr_zero. Instead, set it to the value of the bond_settings' active_member_mac so that the selection is preserved across OVS restarts. Fixes: 3035393488 ("ofproto/bond: Validate active-slave mac.") Signed-off-by: Jonathan Davies <jonathan.davies@nutanix.com> --- ofproto/bond.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)