Hi,

On Sun, Sep 29, 2013 at 02:03:14AM -0300, Werner Almesberger wrote:
> Alexander Aring wrote:
> > This is necessary for upcomming patches.
> 
> Hmm, I didn't spot any case where you'd pass NULL, but maybe I didn't
> search hard enough. Is this for patchs in this set or in a future
> set ? If it's in the current set, do you have an example where this
> check is needed ?

You can find it at [1]. Sometimes contiki devices don't make any
header compression if it fits into a dataframe PDU.

So this function have a check inside to see if we can pull. It doesn't
really make sense there because we derefernce the byte before [2].

But it's okay for this moment, or not? I just want to don't use the
skb_pull function.

- Alex

[1] 
https://github.com/linux-wpan/linux-net-next/commit/af2191adee6fc5010c3f32f4124367b9dba4502a#L0R1269
[2] 
https://github.com/linux-wpan/linux-net-next/commit/af2191adee6fc5010c3f32f4124367b9dba4502a#L0L1294

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to