diff options
| author | Thibaut Robert <[email protected]> | 2018-06-19 20:44:19 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-06-28 21:54:03 +0900 |
| commit | 8c05c98b1a2f0bc8a8fbcc0746adedea01311040 (patch) | |
| tree | fcc95d3758ff9ac79f80257abebd62477ef8bac1 /tools/perf/scripts/python | |
| parent | 6042985276994d5a99b9f195c8ceac002e66f00d (diff) | |
staging: wilc1000: Use common structs to parse ip packets
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 <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Reviewed-by: Claudiu Beznea <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions