Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754882AbbLJR3c (ORCPT ); Thu, 10 Dec 2015 12:29:32 -0500 Received: from smtp-out6.electric.net ([192.162.217.194]:62613 "EHLO smtp-out6.electric.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753571AbbLJR33 (ORCPT ); Thu, 10 Dec 2015 12:29:29 -0500 From: David Laight To: "'Eric Dumazet'" CC: "'Daniel Borkmann'" , Marcelo Ricardo Leitner , Eric Dumazet , "Dmitry Vyukov" , "David S. Miller" , "Alexey Kuznetsov" , James Morris , "Hideaki YOSHIFUJI" , Patrick McHardy , netdev , LKML , "Vlad Yasevich" , Neil Horman , "linux-sctp@vger.kernel.org" , syzkaller , Kostya Serebryany , "Alexander Potapenko" , Sasha Levin Subject: RE: [PATCH net] ipv6: sctp: clone options to avoid use after free Thread-Topic: [PATCH net] ipv6: sctp: clone options to avoid use after free Thread-Index: AQHRMpWwjulvUpSDiUGGxL2XGNkOVJ7Cy09wgAAEwACAAAg0QIAALy2NgAEcsDCAAD3fgIAAFQIw Date: Thu, 10 Dec 2015 17:27:22 +0000 Message-ID: <063D6719AE5E284EB5DD2968C1650D6D1CBEAB36@AcuExch.aculab.com> References: <20151209145917.GA3884@mrl.redhat.com> <1449674706.9768.5.camel@edumazet-glaptop2.roam.corp.google.com> <063D6719AE5E284EB5DD2968C1650D6D1CBE9A61@AcuExch.aculab.com> <1449676782.9768.9.camel@edumazet-glaptop2.roam.corp.google.com> <063D6719AE5E284EB5DD2968C1650D6D1CBE9B1C@AcuExch.aculab.com> <566860BC.4040604@gmail.com> <56687EBB.5040108@iogearbox.net> <063D6719AE5E284EB5DD2968C1650D6D1CBEA7A3@AcuExch.aculab.com> <1449763097.9768.13.camel@edumazet-glaptop2.roam.corp.google.com> In-Reply-To: <1449763097.9768.13.camel@edumazet-glaptop2.roam.corp.google.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.202.99.200] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-Outbound-IP: 213.249.233.130 X-Env-From: David.Laight@ACULAB.COM X-PolicySMART: 3396946, 3397078 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id tBAHTba0003051 Content-Length: 847 Lines: 23 From: Eric Dumazet > Sent: 10 December 2015 15:58 > > BTW, are you even using IPv6 SCTP sessions ? Our M3UA/SCTP protocol stack supports them and defaults to using IPv6 listening sockets for IPv4 connections. I very much doubt than any customers have used them yet. So most of the IPv6 connections will have been to ::1 during internal regression testing. We don't even try to set any IPv6 (or IPv4) options. Just SO_REUSEADDR, TCP/SCTP_NODELAY, SCTP_EVENTS, SCTP_INITMSG, SO_KEEPALIVE (tcp), IPV6_V6ONLY (if binding separate listeners), SCTP_SOCKOPT_BINX_ADD (WTF is this a 'socket option') and SO_LINGER (to get abortive close on SCTP connections on kernels before 3.18). David ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?