On Sun, Oct 05, 2014 at 07:50:49PM +0200, Alexander Aring wrote: > Hi Martin, > > On Wed, Oct 01, 2014 at 01:10:22PM +0100, Martin Townsend wrote: > > Currently there are a number of error paths in the lowpan_rcv function that > > free the skb before returning, the patch simplifies the receive path by > > ensuring that the skb is only freed from this function. > > > > Passing the skb from 6lowpan up to the higher layers is not a > > function of IPHC. By moving it out of IPHC we also remove the > > need to support error code returns with NET_RX codes. > > I think we should split the movement of "passing skb to higher layer" > into a separate patch. >
and now I realized that we had this also in some other mail, because the netif call drops the skb, if "passing skb to higher layer" failed... Maybe try to return 0; then instead an error if failed at this point. I know I said, just merge these patches... but this is really much changes here. I only want some clean patches which only fix the error handling at first without any other changes -> KISS. Sorry Martin. - Alex ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel