commit | 85d8e2ba7060ced6b23a2b1a2a8dd5cdaf951fb9 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Fri Aug 18 15:48:22 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 18 22:39:28 2017 -0700 |
tree | bbe21cec1adefc15cef840b2b4c3f22066e21464 | |
parent | 825b18ab24a1762a07e8202999cd8eb8eb8d505d [diff] |
nfp: don't reuse pointers in ring dumping We were reusing skb pointer when reading page frag, since ring entries contain a union of a skb and frag pointer. This can be confusing to people reading the code. Refactor the code to read frag pointer directly. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>