Message ID | SJ0PR84MB2088FC1661ECE21663B2F59FD8632@SJ0PR84MB2088.NAMPRD84.PROD.OUTLOOK.COM (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Netdev Maintainers |
Headers | show
Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1C1428EA for <netdev@vger.kernel.org>; Thu, 19 Sep 2024 03:10:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=148.163.147.86 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726715421; cv=fail; b=YAkB6Ps+taP5FxjpqdlGaV3ufCQZ7RLwd+xwyjwhL2J6Wsb88RBgM9a7qSN3P6EoodmenmvN0gRqxO3Fa79gLiBmv56OxRO0dvtsoSdQWqkuaMu1x5/5rg/Ts3/UHLWB/GZDyh/eABOLc6quoctxKrRBP0WEEtQz9cgO2z2cImw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726715421; c=relaxed/simple; bh=AUHJM9r1TdhqUgman8X22ZkO4JSxGk2oDAf9ICrpKWE=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=sRLDC/AudyE65SwvwaXDpAtHB6FHLPefoDoJ1l4p58ayZvLA0wscDXPgUIaWOMCe9PJ59s2HWsbAOoNiwOyazCN5sRqJW5nJBpws0bblZdekIdNdzuZ7J1p07osQLVuj4B/SJ/gHnhd9TboP3Cd3dtresTOORltxE2rcpAl70OM= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=hpe.com; spf=pass smtp.mailfrom=hpe.com; dkim=pass (2048-bit key) header.d=hpe.com header.i=@hpe.com header.b=Kn5pztvg; arc=fail smtp.client-ip=148.163.147.86 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=hpe.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hpe.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=hpe.com header.i=@hpe.com header.b="Kn5pztvg" Received: from pps.filterd (m0148663.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48IITDeD008809 for <netdev@vger.kernel.org>; Thu, 19 Sep 2024 03:10:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from :to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=pps0720; bh=jrMUo5jp1 pFDdjbeD2L1o5r24ghuEc7Tbs1AfU6wfN4=; b=Kn5pztvgfxoor4+bXvK8jPknz 1odesx/4VCR3CT3Mi7TbgltZceflWUzOELKQKu6aaLMm0x475GzkmTMkpWwTMc+Z wKMgA3OS95B8QpaA6YQZ+92MdSb185EnXtvYnEJNCHYI01hiir5gRRFGRZgpgcGO lZw0ESbBd/yv5UCl3Hg3a+fG2ygX1qySGHTgyyxzsPumDyKHn2dcfRyox/MeBXIf xswMuuzFBXqkHw5dMujeyOLu3ioaBhvFuemsSoU+3a232JFsveZGABZMVzkDXHaQ yAeNYgLGRZH9ZkbspbxzdfecZPVO9Vb/TR6i6NNqldipR9MviMt3rBtdFwbfA== Received: from p1lg14878.it.hpe.com ([16.230.97.204]) by mx0a-002e3701.pphosted.com (PPS) with ESMTPS id 41qu55ex2w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <netdev@vger.kernel.org>; Thu, 19 Sep 2024 03:10:11 +0000 (GMT) Received: from p1wg14925.americas.hpqcorp.net (unknown [10.119.18.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by p1lg14878.it.hpe.com (Postfix) with ESMTPS id EA4BFD29C for <netdev@vger.kernel.org>; Thu, 19 Sep 2024 03:10:10 +0000 (UTC) Received: from p1wg14927.americas.hpqcorp.net (10.119.18.117) by p1wg14925.americas.hpqcorp.net (10.119.18.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Wed, 18 Sep 2024 15:09:48 -1200 Received: from p1wg14926.americas.hpqcorp.net (10.119.18.115) by p1wg14927.americas.hpqcorp.net (10.119.18.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Wed, 18 Sep 2024 15:09:46 -1200 Received: from p1wg14920.americas.hpqcorp.net (16.230.19.123) by p1wg14926.americas.hpqcorp.net (10.119.18.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42 via Frontend Transport; Wed, 18 Sep 2024 15:09:49 -1200 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (192.58.206.35) by edge.it.hpe.com (16.230.19.123) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Wed, 18 Sep 2024 15:09:49 -1200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=C7ilk71LJOa0GpqhWFk0MXxlEsh8NykVWGaJe2lADSZ8xnJKcQCYpiwVHXwZuRnUCtFwXVzkbnJ64H5xy/iVRbsvbHVCUEd0G5BsyzGoaGSd6/pWBY08duUL9S0XBCBxLN/ou2iDMkPmkk6U7fOa3qvdOZc5UM4q67KSxe0wsWvy0mzRR7w/qmGTTniiokitJUSCFlJ0IwCNdm6l83nIusjWr5+h7ZwburLhCDgW/agP00tmkl6QqHSUmlAjm+yGmRudd2JwE8mo2nSmjqlgfhTspXV5CqSw/jgxAiUUg3zWfUY/wz/DqPJr4U3GdG2hVc1YyRnoFByI6/R/XTPhVA== 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=jrMUo5jp1pFDdjbeD2L1o5r24ghuEc7Tbs1AfU6wfN4=; b=Nd5Q5OgPrUB0ISYC8TurbVpVCqwK9w0Q1jKcnwMHOqiLgiHHd4kyR68yKbjnXxajts9Q+oN63QP6pAr3H69c3KAysTzWA94/cc1wNli650NXOmBWP9OLnQtXv4Hwg+HgLpOXz2dhWbv10HtuU3DRxgFXc1bOczmiTrZv/g4m6ya7VNVppvapCYT3NeHINZaHIs1D/u/kSWqR9fhntGm/nskVTlCXMRdi18PkFY6JmscPy8eF5WfvDsIafmbkjZab7eHk5Qm93CJLHhNWKuxCQK1UyoIOGN9px00YLYdkR6dCiuSjaXAytCTRK/dxmJV1t9Qt8KauQh5wnfqSVgxQ4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from SJ0PR84MB2088.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:a03:437::8) by DM4PR84MB1686.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:8:49::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.16; Thu, 19 Sep 2024 03:09:47 +0000 Received: from SJ0PR84MB2088.NAMPRD84.PROD.OUTLOOK.COM ([fe80::8cc2:658d:eae8:3d8d]) by SJ0PR84MB2088.NAMPRD84.PROD.OUTLOOK.COM ([fe80::8cc2:658d:eae8:3d8d%5]) with mapi id 15.20.7982.012; Thu, 19 Sep 2024 03:09:47 +0000 From: "Muggeridge, Matt" <matt.muggeridge2@hpe.com> To: "netdev@vger.kernel.org" <netdev@vger.kernel.org> Subject: [PATCH net-next v3] Netlink flag for creating IPv6 Default Routes Thread-Topic: [PATCH net-next v3] Netlink flag for creating IPv6 Default Routes Thread-Index: AdsKQUwy+5AXMFCsQyWGVNNd4Q2Tlg== Date: Thu, 19 Sep 2024 03:09:46 +0000 Message-ID: <SJ0PR84MB2088FC1661ECE21663B2F59FD8632@SJ0PR84MB2088.NAMPRD84.PROD.OUTLOOK.COM> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR84MB2088:EE_|DM4PR84MB1686:EE_ x-ms-office365-filtering-correlation-id: fc9dcaaf-68f0-4c96-6206-08dcd8588473 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|366016|376014|38070700018; x-microsoft-antispam-message-info: kEIwNN485ahybYKdV1NZvP07FvYf7KWg66yQ4EBblnmIgXALcShJWylgqp1FBl7dr7zz5r+56gd5jBvL6cs1seUFOBLova+Edh44l2Nvu/Kz/e/FBHs2PWZ5UxS5d0ELFJ50CwqarZHu7AUdyQMVIROyuJfln8OPznnRrk76nJgMojpDRID3aw8vRle66o8/v7QUianc1CHfDzKU+a6C9+dCgwhs1Zie5JfnhaYTy3cYSQRqZk/A96075pVz2awL/Fdq2WL9tGzaKlnoSH6ecGTL8gk9jyAy07c3UW7ajjZnc7ec3NvT6v80Mt/eF3+KBEG4ax4N08rqiicA64BaHF/l9RdrN3XyaHljRoTpWk+OuYRy7XYhk4v7mxok+Z+67zBw16Bc8puT476Uvt5sFChuYcv3GBalAE13ncHgU8D7seUsRWDR78hRYm2QTh/fc94Olyu0WLLWuYDj+G8plHDsaEXg+4NWwYSAipDV9UlciYQKzZI9is9rlV9kYcaKyJ7PGm4DdTg4AJB20pvvhHZ9g2xRfmQ+V/7PiFIWRrH10wi4aXeia8r5ZJNy/XUMwTNu5CQjvYzCrdTV2LKKR500ukHSH32KlGfDCGUd6o4h+fyaPmNTlwjRAb0gCvfG50QCQL5yf7ypxF+K3EMh2I0PYPg7bRs0+ve72kCoiBHbrnKtrgnFrpsu9R04LKV9WGCrKBh4YZBGAIPcQzY4YyayA28dXxTwm4UOW66VHo9qvvQFyKtA9W8zY1r3mg4AhPQeve8rk+xn2hNLVqIW15OXj6V3bI5bJKYQmGIEawkl7xHySjkiYuF5McuuYyPT3/D1rxMBx1zZP/m9mLud5gsujkrbpkJmBtyPFBkMKFE0aInYaPsB9JthUSY0q7ORVnFzp/EHq/fJRsU8x3wnDBUBEEheQW7R172g1RT0JojlWO/OWcI1xxCWTY/Q0ZwSOQ6cmHN4TBfAVHHRbalQkTpQYUtDvOWik/q25vs2hnslvwcaWDu9D0xjjgrPzox1PPIroDTgJI1/iA5MxYikZIQLQJEzyZpkJw8kLzaJEK1mkgE4emM1Wr7fYYcR/ECXpzVjCqnkK2gVzUoZ/MCgx27K8l10bw+VEQRtcbmjf9TxfO1w633KtVIGbD8GMEQdQbSVN+z0e8O+rW8PF6mShb+Xsn1h4TI1tPBanOQlA8hh5mahf+uS+7nkv3G9e3bP9ajqbKKyiM7wy3I0VH1UqGAmbxURmZrRodFzpQOwNvp83Ba9kMWYoXhg/TPG5G0l+LeQ1RsHKSB8cQI2CfmeyvNGFFxcjibtVnatlxU8eLCTXumXLhOimmnh1JcMtcNLMIk8yZfx8sevVUjJ+VfNh4UL2SREhLlTbkM45quXe24C04VSEDyWY8/m+Qc/oEcSpFzdMqCBuKYkvlgGCMo04A== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR84MB2088.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(38070700018);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: ycs5Fuz0LJr0BbX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E/+vgWkWMNKkpuqi355k2ytyIDk16YJaxQXQ7kgY91h/ujyj6Kg2oe49ramaNpSq9GZm528scHDsnZzwD3lBki6cDPxeOyNKPaG8k27NnOzjbt2oOvvu2WujRdfd3s2u+q/dQ/9mJwp1nmOnDSig/dZZNRoMZIZ85qB7ZMZayN/psLyRlIAkgygwgOzJjVfFFeqw63mVnDuHRFU379ER+uezSlNb535n5FEFeRweHPzGastUVQGyb+4dZpaXOn4X8R5frp6TOdh7RCilzEMwRMseM4Dfx5FJ1HFQNkrYPn6BXZsHTXc1A4nP5fWhK48Qo6mTwNdYgRjxnYiHDL30zjzL2abn2GRFuxdrNEoJFddmIlfolmh4B3uRhFH8il2Qv1Q2I0ouyQ/LGXcJUsD2omWWiOgu7lc4JvyKeerTOjRnGTJj1zFwoGzfZMVVHjuLDqLdHqCBddeY7ub1vqCxF8iTdTX9y4qqinp96rKmKdfinP5crBcTnh0I Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: <netdev.vger.kernel.org> List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR84MB2088.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: fc9dcaaf-68f0-4c96-6206-08dcd8588473 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Sep 2024 03:09:47.0080 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rRuA0Jarqrnk00DD1y0iSPUUlITE5ywdtY9jD9uITkj5r3pAppOUxzksWZu+smGvQGj0sYka0Y5m8f7TRyZyqzo6W1hxuQutZPNdV30m2JY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR84MB1686 X-OriginatorOrg: hpe.com X-Proofpoint-GUID: 3Kzi8gHw62bKamvsQqJBEp6H3tylPOuY X-Proofpoint-ORIG-GUID: 3Kzi8gHw62bKamvsQqJBEp6H3tylPOuY X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-19_02,2024-09-18_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 clxscore=1015 phishscore=0 priorityscore=1501 bulkscore=0 impostorscore=0 adultscore=0 spamscore=0 suspectscore=0 mlxlogscore=999 malwarescore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2408220000 definitions=main-2409190021 X-Patchwork-Delegate: kuba@kernel.org |
Series |
[net-next,v3] Netlink flag for creating IPv6 Default Routes
|
expand
|
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Clearly marked for net-next |
netdev/apply | fail | Patch does not apply to net-next-0 |
diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h index 3b687d20c9ed..9d80926316b3 100644 --- a/include/uapi/linux/rtnetlink.h +++ b/include/uapi/linux/rtnetlink.h @@ -336,6 +336,7 @@ enum rt_scope_t { #define RTM_F_FIB_MATCH 0x2000 /* return full fib lookup match */ #define RTM_F_OFFLOAD 0x4000 /* route is offloaded */ #define RTM_F_TRAP 0x8000 /* route is trapping packets */ +#define RTM_F_RA_ROUTER 0x10000 /* route is a default route from RA */ #define RTM_F_OFFLOAD_FAILED 0x20000000 /* route offload failed, this value * is chosen to avoid conflicts with * other flags defined in diff --git a/net/ipv6/route.c b/net/ipv6/route.c index b4251915585f..5b0c16422720 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -5055,6 +5055,9 @@ static int rtm_to_fib6_config(struct sk_buff *skb, struct nlmsghdr *nlh, if (rtm->rtm_flags & RTM_F_CLONED) cfg->fc_flags |= RTF_CACHE; + if (rtm->rtm_flags & RTM_F_RA_ROUTER) + cfg->fc_flags |= RTF_RA_ROUTER; + cfg->fc_flags |= (rtm->rtm_flags & RTNH_F_ONLINK); if (tb[RTA_NH_ID]) {