From: Simon Horman <simon.hor...@netronome.com> Date: Mon, 3 Apr 2017 15:42:58 -0400
> 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_li...@m4x.org> > Signed-off-by: Simon Horman <simon.hor...@netronome.com> Applied and queued up for -stable. > this problem is present in both net, since v4.11-rc1 and net-next. > However, the code has refactored in net-next. I expect this will result > in a conflict. Let me know if you would like me to post a version for > net-next too. I'll sort out the merge hassles into net-next myself, thanks for letting me know.