Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751392AbdIMR3B (ORCPT ); Wed, 13 Sep 2017 13:29:01 -0400 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:52156 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751063AbdIMR27 (ORCPT ); Wed, 13 Sep 2017 13:28:59 -0400 From: Josef Bacik To: Laura Abbott , "David S. Miller" , Alexey Kuznetsov , "Hideaki YOSHIFUJI" CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Cole Robinson Subject: Re: 319554f284dd ("inet: don't use sk_v6_rcv_saddr directly") causes bind port regression Thread-Topic: 319554f284dd ("inet: don't use sk_v6_rcv_saddr directly") causes bind port regression Thread-Index: AQHTLBeHTmXbYNNlokyw2o+Z43qCfKKxnfiAgAFYTgD//6eWgA== Date: Wed, 13 Sep 2017 17:28:25 +0000 Message-ID: References: <1a8ef376-387e-e0fc-7362-e1fd2c2c45d3@redhat.com> <588f3795-931e-7779-4ec7-5fe7d4437927@redhat.com> In-Reply-To: <588f3795-931e-7779-4ec7-5fe7d4437927@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [12.145.98.253] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR15MB1355;20:tBNHYaj9vm+bvv8gXAeKwDJ60Lb6ttUSRc22YnjDHio70jQMiqLkZAw8104KwIUxMvKNVQjthDNBLMsDCq5r5zsyXS8wwmLqxVwUUrAsFX8OeQ73Ky6ruN15tsSQfl/rypKAC5qgZt62tYv69twndATXLBlWQQCcY4rR6Tll8Ww= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: e2a0304f-4577-44fd-dc97-08d4faccd766 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(2017052603199)(49563074)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:DM5PR15MB1355; x-ms-traffictypediagnostic: DM5PR15MB1355: x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(102415395)(6040450)(2401047)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123562025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DM5PR15MB1355;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DM5PR15MB1355; x-forefront-prvs: 042957ACD7 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(376002)(346002)(199003)(377454003)(51914003)(189002)(24454002)(2900100001)(33656002)(6246003)(82746002)(99936001)(101416001)(50986999)(76176999)(54356999)(8936002)(106356001)(4326008)(25786009)(81166006)(97736004)(478600001)(81156014)(68736007)(53546010)(14454004)(189998001)(8676002)(86362001)(45080400002)(2906002)(7736002)(6506006)(2950100002)(77096006)(6486002)(316002)(99286003)(83716003)(105586002)(53936002)(36756003)(6512007)(102836003)(5660300001)(54906002)(6116002)(3846002)(3280700002)(66066001)(229853002)(3660700001)(6436002)(305945005);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR15MB1355;H:DM5PR15MB1914.namprd15.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/mixed; boundary="_002_EF55EF02AD404F068C074F9F4221BFE6fbcom_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Sep 2017 17:28:25.9260 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR15MB1355 X-OriginatorOrg: fb.com X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-09-13_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3415 Lines: 55 --_002_EF55EF02AD404F068C074F9F4221BFE6fbcom_ Content-Type: text/plain; charset="utf-8" Content-ID: <9B3EF808575C9A4AA7EF19EF7D355366@namprd15.prod.outlook.com> Content-Transfer-Encoding: base64 U29ycnkgSSB0aG91Z2h0IEkgaGFkIG1hZGUgdGhpcyBvdGhlciBmaXgsIGNhbiB5b3UgYXBwbHkg dGhpcyBvbiB0b3Agb2YgdGhlIG90aGVyIG9uZSBhbmQgdHJ5IHRoYXQ/ICBJIGhhdmUgbW9yZSB0 aGluZ3MgdG8gdHJ5IGlmIHRoaXMgZG9lc27igJl0IHdvcmssIHNvcnJ5IHlvdSBhcmUgcGxheWlu ZyBnbyBiZXR3ZWVuLCBidXQgSSB3YW50IHRvIG1ha2Ugc3VyZSBJIGtub3cgX3doaWNoXyBmaXgg YWN0dWFsbHkgZml4ZXMgdGhlIHByb2JsZW0sIGFuZCB0aGVuIGNsZWFuIHVwIGluIGZvbGxvd3Vw IHBhdGNoZXMuICBUaGFua3MsDQoNCkpvc2VmDQoNCk9uIDkvMTMvMTcsIDg6NDUgQU0sICJMYXVy YSBBYmJvdHQiIDxsYWJib3R0QHJlZGhhdC5jb20+IHdyb3RlOg0KDQpPbiAwOS8xMi8yMDE3IDA0 OjEyIFBNLCBKb3NlZiBCYWNpayB3cm90ZToNCj4gRmlyc3QgSeKAmW0gc3VwZXIgc29ycnkgZm9y IHRoZSB0b3AgcG9zdCwgSeKAmW0gYXQgcGx1bWJlcnMgYW5kIEkgZm9yZ290IHRvIHVwbG9hZCBt eSBtdXR0cmMgdG8gbXkgbmV3IGNsb3VkIGluc3RhbmNlLCBzbyBJ4oCZbSBzY3Jld2VkIHVzaW5n IG91dGxvb2suDQo+IA0KPiBJIGhhdmUgYSBjb21wbGV0ZWx5IHVudGVzdGVkLCB1bmNvbXBpbGVk IHBhdGNoIHRoYXQgSSB0aGluayB3aWxsIGZpeCB0aGUgcHJvYmxlbSwgd291bGQgeW91IG1pbmQg Z2l2aW5nIGl0IGEgZ28/ICBUaGFua3MsDQo+IA0KPiBKb3NlZg0KDQpUaGFua3MgZm9yIHRoZSBx dWljayB0dXJuYXJvdW5kLiBVbmZvcnR1bmF0ZWx5LCB0aGUgcHJvYmxlbSBpcyBzdGlsbA0KcmVw cm9kdWNpYmxlIGFjY29yZGluZyB0byB0aGUgcmVwb3J0ZXIuDQoNClRoYW5rcywNCkxhdXJhDQoN Cg0K --_002_EF55EF02AD404F068C074F9F4221BFE6fbcom_ Content-Type: application/octet-stream; name="0001-net-use-inet6_rcv_saddr-to-compare-sockets.patch" Content-Description: 0001-net-use-inet6_rcv_saddr-to-compare-sockets.patch Content-Disposition: attachment; filename="0001-net-use-inet6_rcv_saddr-to-compare-sockets.patch"; size=1085; creation-date="Wed, 13 Sep 2017 17:28:25 GMT"; modification-date="Wed, 13 Sep 2017 17:28:25 GMT" Content-ID: Content-Transfer-Encoding: base64 RnJvbSAzODA5NjhmNThkNTQzYWM5ZWMwY2IxYWExMWRiMzk3OWYzYWVlNjlkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKb3NlZiBCYWNpayA8am9zZWZAdG94aWNwYW5kYS5jb20+CkRh dGU6IFdlZCwgMTMgU2VwIDIwMTcgMTA6MjQ6MjIgLTA3MDAKU3ViamVjdDog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