Re: [PATCH net] flow dissector: correct size of storage for ARP

2017-04-03 Thread David Miller
From: Simon Horman 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 m

[PATCH net] flow dissector: correct size of storage for ARP

2017-04-03 Thread Simon Horman
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 x8