Re: [RFC v2 3/4] 6lowpan: Add stateful compression support for iphc.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 13, 2015 at 01:50:32PM +0200, Lukasz Duda wrote:
...
>  		} else {
>  			pr_debug("dest address unicast %pI6c\n", &hdr->daddr);
>  			lowpan_push_hc_data(&hc_ptr, hdr->daddr.s6_addr, 16);
> @@ -619,6 +774,9 @@ static int __init lowpan_module_init(void)
>  {
>  	lowpan_debugfs = debugfs_create_dir("6lowpan", NULL);
>  
> +	/* Initialize stateful compression. */
> +	lowpan_context_init();
> +

Error handling here, too. You need to change lowpan_context_init for
returning return value from debugfs_create_file then.

The rest will I review when I get it running. :-)

- Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux