lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 14 May 2020 08:26:22 +0200 From: Christoph Hellwig <hch@....de> To: David Howells <dhowells@...hat.com> Cc: Christoph Hellwig <hch@....de>, "David S. Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, Marcelo Ricardo Leitner <marcelo.leitner@...il.com>, Eric Dumazet <edumazet@...gle.com>, linux-nvme@...ts.infradead.org, linux-sctp@...r.kernel.org, target-devel@...r.kernel.org, linux-afs@...ts.infradead.org, drbd-dev@...ts.linbit.com, linux-cifs@...r.kernel.org, rds-devel@....oracle.com, linux-rdma@...r.kernel.org, cluster-devel@...hat.com, Alexey Kuznetsov <kuznet@....inr.ac.ru>, linux-block@...r.kernel.org, ceph-devel@...r.kernel.org, linux-nfs@...r.kernel.org, Neil Horman <nhorman@...driver.com>, Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>, netdev@...r.kernel.org, Vlad Yasevich <vyasevich@...il.com>, linux-kernel@...r.kernel.org, Jon Maloy <jmaloy@...hat.com>, Ying Xue <ying.xue@...driver.com>, ocfs2-devel@....oracle.com Subject: Re: [PATCH 21/33] ipv4: add ip_sock_set_mtu_discover On Wed, May 13, 2020 at 02:17:41PM +0100, David Howells wrote: > Christoph Hellwig <hch@....de> wrote: > > > + ip_sock_set_mtu_discover(conn->params.local->socket->sk, > > + IP_PMTUDISC_DONT); > > Um... The socket in question could be an AF_INET6 socket, not an AF_INET4 > socket - I presume it will work in that case. If so: Yes, the implementation of that sockopt, including the inet_sock structure where these options are set is shared between ipv4 and ipv6.
Powered by blists - more mailing lists