summaryrefslogtreecommitdiff
path: root/crypto/algif_skcipher.c
diff options
context:
space:
mode:
authorKumar Thangavel <kumarthangavel.hcl@gmail.com>2021-11-22 22:08:18 +0530
committerDavid S. Miller <davem@davemloft.net>2021-11-24 11:53:17 +0000
commitac132852147ad303a938dda318970dd1bbdfda4e (patch)
tree55ab3c0c818b4adf3a125ff65341803b797d4005 /crypto/algif_skcipher.c
parent619ca0d0108a5866cca7793bd7e19c5d7a30e750 (diff)
downloadlwn-ac132852147ad303a938dda318970dd1bbdfda4e.tar.gz
lwn-ac132852147ad303a938dda318970dd1bbdfda4e.zip
net/ncsi : Add payload to be 32-bit aligned to fix dropped packets
Update NC-SI command handler (both standard and OEM) to take into account of payload paddings in allocating skb (in case of payload size is not 32-bit aligned). The checksum field follows payload field, without taking payload padding into account can cause checksum being truncated, leading to dropped packets. Fixes: fb4ee67529ff ("net/ncsi: Add NCSI OEM command support") Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Acked-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/algif_skcipher.c')
0 files changed, 0 insertions, 0 deletions