aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorSimon Horman2017-04-03 15:42:58 -0400
committerDavid S. Miller2017-04-03 14:46:45 -0700
commitac6a3722fed67c658a435187d0254ae119d845d3 (patch)
treeb79389a819445a306c89422b61ae74c1da375505 /fs
parent75514b6654859e0130b512396dc964d2a9e84967 (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 <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 'fs')
0 files changed, 0 insertions, 0 deletions