Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp78074pxv; Fri, 30 Jul 2021 19:21:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7zlF8HqyA7d1evWT+VtqpFEEvKfYbH8hm9+UOIf+HdeaIjW2h9/+zPQBheqmod97oH4ZD X-Received: by 2002:a17:906:8443:: with SMTP id e3mr5827754ejy.46.1627698079389; Fri, 30 Jul 2021 19:21:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627698079; cv=none; d=google.com; s=arc-20160816; b=Kzbbxj3YN/trXTPVqfmRevoLpBurO4/CUpXSTuB01w2k9Xlbnb8PZ8x2iXI3E48+kl 2c2o1IBwxBbCDSU7f8j7hFqidVJcupGRI/FWMHhSJ0C3vTVUWfIeK/1sKA1uJOOk8f1S 8SwmFf6eaOAlcnvMJoS3KnrTVN/BS0IHDPH8/S+orgskw1eGqMTTYo+iDJkNAjQH2Zgz f6RTinrxzGaDtn/M43nkOMVyGjERwWzaPR/Rfyx2Cy2ejirCj+Xp3J8dmZRfHOL+Sw2e jwLKbLwRTgVXpi0guX+L1Mb2TxMWdE+QzxOHByqQtmtNtRxc4mgSEuZr+bes7KSGT/mn 0wBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=y38IED9myYQxrmXiRiU7/BbW5imRoZJLVz1+uPrVd64=; b=1B0QiT6sH0VKu+NBrHhWtuStdGUliW+XkZcOqkI9BN4vENLH5/iCffz3qeFVrrpUC8 B1Ha73qGnA48Sqbas0EeG27VSB1FC4qR/62V9J/R96Q25SNnA1LCxPd77kXnZf9IJcfy G+Y0GYixYghc83zidM0nFy+ReBW6WHA+DVnaFzpE5iyHUAGNxgd+ivCGgJdtsQhkC+ZJ QZ5JiKqbFC8+PNjdsLeagpVcJEfTOJvneuunCCNPHRK78uNatK3aEsXOEjGQYEcEubzW 3wFb2RlaR97KU3iTfMXmyL7b3NqhkZrrzrxNpwdwPMLUOhv4hwKfl5Bycn6uANoAaS4k 1bEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=LpEbyEkf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y16si758364edd.72.2021.07.30.19.20.55; Fri, 30 Jul 2021 19:21:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=LpEbyEkf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235531AbhGaCJb (ORCPT + 99 others); Fri, 30 Jul 2021 22:09:31 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:33459 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231335AbhGaCJa (ORCPT ); Fri, 30 Jul 2021 22:09:30 -0400 X-UUID: 9d273a60bfbf44edb13902f379c49518-20210731 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=y38IED9myYQxrmXiRiU7/BbW5imRoZJLVz1+uPrVd64=; b=LpEbyEkfSFkK2I7aP6KRuE/Iam93Z1NWqyo9rEkPvGch2zmCy/Jnvs2hpYRzcaFlM/IhmtY6JSATCfwOwH0i543zmzsY5ueMog0WT6OrqfJKqPm4L8u+4ZTIE8pYn0oce810oT1B29GjaEVfZGy9waSr6S6bZgrvcDjDEB4FPcU=; X-UUID: 9d273a60bfbf44edb13902f379c49518-20210731 Received: from mtkmrs31.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1773357235; Sat, 31 Jul 2021 10:09:22 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by MTKMBS32N1.mediatek.inc (172.27.4.71) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 31 Jul 2021 10:09:09 +0800 Received: from localhost.localdomain (10.15.20.246) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 31 Jul 2021 10:09:02 +0800 From: Rocco Yue To: "David S . Miller" , David Ahern , Jakub Kicinski , Hideaki YOSHIFUJI CC: , , , , , , , Rocco Yue Subject: [PATCH net-next v2] ipv6: add IFLA_INET6_RA_MTU to expose mtu value in the RA message Date: Sat, 31 Jul 2021 09:52:30 +0800 Message-ID: <20210731015230.11589-1-rocco.yue@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: C254CF878AC218E990404A06BE5801CA40785056E585CA60BD1DEB6A5A00BE8A2000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGhlIGtlcm5lbCBwcm92aWRlcyBhICIvcHJvYy9zeXMvbmV0L2lwdjYvY29uZi88aWZhY2U+L210 dSINCmZpbGUsIHdoaWNoIGNhbiB0ZW1wb3JhcmlseSByZWNvcmQgdGhlIG10dSB2YWx1ZSBvZiB0 aGUgbGFzdA0KcmVjZWl2ZWQgUkEgbWVzc2FnZSB3aGVuIHRoZSB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