summaryrefslogtreecommitdiff
path: root/drivers/net/macsec.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>2018-12-03 15:34:24 +0100
committerFelix Fietkau <nbd@nbd.name>2019-01-11 15:10:18 +0100
commit87e86f90196fa074f8f6ac0e77d1287d9239878b (patch)
tree3a5dd165afb11c5e46a174736a60ebdf8740b9ab /drivers/net/macsec.c
parentc09f4d0a1f81720342d4d0e1d4a2b601903f132a (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