On 07/30/2014 05:25 PM, Martin Townsend wrote: > Currently it is up to the functions below lowpan_rcv to free the skb on error > conditions. This patch now removes all the UAPI error codes and process data > now returns -1 if there is a problem. In this scenario lowpan_rcv will free
Don't replace -errno by -1. > the skb and return NET_RX_DROP. This also fixes the problem where > NET_RX_SUCCESS is returned on error Sounds to me, you should split this patch into two patches. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel