diff options
author | 2017-04-03 15:42:58 -0400 | |
---|---|---|
committer | 2017-04-03 14:46:45 -0700 | |
commit | ac6a3722fed67c658a435187d0254ae119d845d3 (patch) | |
tree | b79389a819445a306c89422b61ae74c1da375505 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: ethernet: ti: cpsw: wake tx queues on ndo_tx_timeout (diff) | |
download | wireguard-linux-ac6a3722fed67c658a435187d0254ae119d845d3.tar.xz wireguard-linux-ac6a3722fed67c658a435187d0254ae119d845d3.zip |
flow dissector: correct size of storage for ARP
The last argument to __skb_header_pointer() should be a buffer large
enough to store struct arphdr. This can be a pointer to a struct arphdr
structure. The code was previously using a pointer to a pointer to
struct arphdr.
By my counting the storage available both before and after is 8 bytes on
x86_64.
Fixes: 55733350e5e8 ("flow disector: ARP support")
Reported-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions