On Mon, Oct 14, 2013 at 09:11:12PM -0300, Werner Almesberger wrote:
> Alexander Aring wrote:
> > Since we drop the skb copies, we don't need this function.
> 
> ... and you get rid of a potential (?) compiler warning:
> 

no it's still used.
It's not a static inline function so maybe we save a function call.

I only want to make the code a little bit cleaner. We can set the

       skb->protocol = htons(ETH_P_IPV6);
       skb->pkt_type = PACKET_HOST;

attributes directly when we call netif_rx then we get more sure that we
send only ipv6 packets to the lowpan device.

The setting of ipv6 header we can do in the lowpan_process_data function.

------------------------------------------------------------------------------
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=60135031&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