diff options
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | 2018-12-03 15:34:24 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-01-11 15:10:18 +0100 |
commit | 87e86f90196fa074f8f6ac0e77d1287d9239878b (patch) | |
tree | 3a5dd165afb11c5e46a174736a60ebdf8740b9ab /drivers/net/macsec.c | |
parent | c09f4d0a1f81720342d4d0e1d4a2b601903f132a (diff) |
mt76: dma: do not build skb if reported len does not fit in buf_size
Precompute data length in order to avoid to allocate the related
skb data structure if reported length does not fit in queue buf_size
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/macsec.c')
0 files changed, 0 insertions, 0 deletions