diff options
author | Simon Horman <[email protected]> | 2017-04-03 15:42:58 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-04-03 14:46:45 -0700 |
commit | ac6a3722fed67c658a435187d0254ae119d845d3 (patch) | |
tree | b79389a819445a306c89422b61ae74c1da375505 /include/linux/fpga/fpga-bridge.h | |
parent | 75514b6654859e0130b512396dc964d2a9e84967 (diff) |
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 <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions