Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: [PATCH] Bluetooth: Fix user channel for 32bit userspace on 64bit kernel From: Marcel Holtmann In-Reply-To: <20170425012504.30505-1-szymon.janc@codecoup.pl> Date: Tue, 25 Apr 2017 04:53:08 +0200 Cc: Linux Bluetooth , Marko Kiiskila Message-Id: References: <20170425012504.30505-1-szymon.janc@codecoup.pl> To: Szymon Janc Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Szymon, > Running 32bit userspace on 64bit kernel results in MSG_CMSG_COMPAT being > defined as 0x80000000. This results in sendmsg failure if used from 32bit > userspace running on 64bit kernel. Fix this by accounting for MSG_CMSG_COMPAT > in flags check in hci_sock_sendmsg. > > Signed-off-by: Szymon Janc > Signed-off-by: Marko Kiiskila > --- > net/bluetooth/hci_sock.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) patch has been applied to bluetooth-next tree. Regards Marcel