Return-Path: Date: Sun, 5 Oct 2014 19:58:56 +0200 From: Alexander Aring To: Martin Townsend Cc: linux-zigbee-devel@lists.sourceforge.net, linux-bluetooth@vger.kernel.org, linux-wpan@vger.kernel.org, marcel@holtmann.org, Martin Townsend , werner@almesberger.net Subject: Re: [PATCH v4 bluetooth] 6lowpan: fix incorrect return values in lowpan_rcv Message-ID: <20141005175855.GB15923@omega> References: <1412165422-31063-1-git-send-email-martin.townsend@xsilon.com> <1412165422-31063-2-git-send-email-martin.townsend@xsilon.com> <20141005175049.GA15923@omega> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: <20141005175049.GA15923@omega> List-ID: Martin, On Sun, Oct 05, 2014 at 07:50:49PM +0200, Alexander Aring wrote: ... > if (skb_headroom(skb) < len) > do_expand_stuff(skb....); > Maybe also put the skb_push stuff here, please look yourself what we do also at udphdr and hdr here. It's should have some similar calling steps. But please not the skb_reset_stuff here. This is different for network header and transport header. > return 0; > > - Alex