diff options
| author | Thibaut Robert <thibaut.robert@gmail.com> | 2018-06-19 21:44:19 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-28 15:54:03 +0300 |
| commit | 8c05c98b1a2f0bc8a8fbcc0746adedea01311040 (patch) | |
| tree | fcc95d3758ff9ac79f80257abebd62477ef8bac1 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 6042985276994d5a99b9f195c8ceac002e66f00d (diff) | |
| download | linux-8c05c98b1a2f0bc8a8fbcc0746adedea01311040.tar.xz | |
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 <thibaut.robert@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
