summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-03-02 15:26:20 -0800
committerDavid S. Miller <davem@davemloft.net>2017-03-03 09:46:53 -0800
commit9383b33771e566fa547daa2d09c6e0f1aaa298c3 (patch)
treebf0c3dbd4972ec43c3f19fd6556bc39ba99b0e60 /Kbuild
parente28599800a1274357492d85a653012ed3220b45c (diff)
downloadlinux-9383b33771e566fa547daa2d09c6e0f1aaa298c3.tar.gz
linux-9383b33771e566fa547daa2d09c6e0f1aaa298c3.tar.xz
nfp: don't tell FW about the reserved buffer space
Since commit c0f031bc8866 ("nfp_net: use alloc_frag() and build_skb()") we are allocating buffers which have to hold both the data and skb to be created in place by build_skb(). FW should only be told about the buffer space it can DMA to, that is without the build_skb() headroom and tailroom. Note: firmware applications should validate the buffers against both MTU and free list buffer size so oversized packets would not pass through the NIC anyway. Fixes: c0f031bc8866 ("nfp: use alloc_frag() and build_skb()") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions