Re: [PATCH v2] staging: wilc1000: Use common structs to parse ip packets

2018-06-26 Thread Claudiu Beznea
Reviewed-by: Claudiu Beznea On 19.06.2018 21:44, Thibaut Robert wrote: > Use structs ethhdr, iphdr and tcphdr instead of manual parsing in > tcp_process. > This commit fix handling of ip packets containing options. > It also fixes the following sparse warning: > > drivers/staging/wilc1000//wilc_

Re: [PATCH v2] staging: wilc1000: Use common structs to parse ip packets

2018-06-20 Thread Dan Carpenter
Nice... Reviewed-by: Dan Carpenter regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH v2] staging: wilc1000: Use common structs to parse ip packets

2018-06-19 Thread Thibaut Robert
Use structs ethhdr, iphdr and tcphdr instead of manual parsing in tcp_process. This commit fix handling of ip packets containing options. It also fixes the following sparse warning: drivers/staging/wilc1000//wilc_wlan.c:201:19: warning: cast to restricted __be16 Signed-off-by: Thibaut Robert ---