Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: [PATCH 1/3] Bluetooth: 6lowpan: Remove unnecessary peer lookup From: Marcel Holtmann In-Reply-To: <20170403144857.4661-1-luiz.dentz@gmail.com> Date: Wed, 5 Apr 2017 15:47:15 +0200 Cc: Linux Bluetooth , Alexander Aring , Jukka Rissanen , linux-wpan@vger.kernel.org Message-Id: <6D8C6EC7-4E52-4C4B-8A2D-728880DDF938@holtmann.org> References: <20170403144857.4661-1-luiz.dentz@gmail.com> To: Luiz Augusto von Dentz Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Luiz, > During chan_recv_cb there is already a peer lookup which can be passed > to recv_pkt directly instead of the channel. > > Signed-off-by: Luiz Augusto von Dentz > --- > net/bluetooth/6lowpan.c | 15 ++++----------- > 1 file changed, 4 insertions(+), 11 deletions(-) all 3 patches have been applied to bluetooth-next tree. Regards Marcel