From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-gx0-f174.google.com ([209.85.161.174]:58156 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753650Ab0IHTqA (ORCPT ); Wed, 8 Sep 2010 15:46:00 -0400 Date: Wed, 8 Sep 2010 16:45:40 -0300 From: "Gustavo F. Padovan" Subject: Re: [PATCH 1/4] Bluetooth: Validate PSM values in calls to connect() and bind() Message-ID: <20100908194540.GI16973@vigoh> References: <1283965529-17068-1-git-send-email-mathewm@codeaurora.org> <1283965529-17068-2-git-send-email-mathewm@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1283965529-17068-2-git-send-email-mathewm@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: Mat Martineau Cc: linux-bluetooth@vger.kernel.org, marcel@holtmann.org, gustavo@padovan.org, rshaffer@codeaurora.org, linux-arm-msm@vger.kernel.org * Mat Martineau [2010-09-08 10:05:26 -0700]: > Valid L2CAP PSMs are odd numbers, and the least significant bit of the > most significant byte must be 0. > > Signed-off-by: Mat Martineau > --- > net/bluetooth/l2cap.c | 25 +++++++++++++++++++++---- > 1 files changed, 21 insertions(+), 4 deletions(-) Acked-by: Gustavo F. Padovan -- Gustavo F. Padovan ProFUSION embedded systems - http://profusion.mobi