From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Marek Subject: Stable inclusion request: recvmsg/sendmsg userspace regression fix Date: Fri, 30 Jan 2015 16:28:56 +0100 Message-ID: <54CBA338.1000207@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Ani Sinha , "David S. Miller" , Stable Tree To: Linux Kernel Network Developers Return-path: Sender: stable-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Hi, please include commit 6a2a2b3ae0759843b22c929881cc184b00cc63ff Author: Ani Sinha Date: Mon Sep 8 14:49:59 2014 -0700 net:socket: set msg_namelen to 0 if msg_name is passed as NULL in msghdr struct from userland. to 3.14.y and older trees, since it fixes a userspace regression caused by commit dbb490b9 ("net: socket: error on a negative msg_namelen"). The patch applies cleanly to all trees down to 2.6.32.y. Thanks, Michal