summaryrefslogtreecommitdiff
path: root/net/ieee802154
diff options
context:
space:
mode:
authorKumar Thangavel <kumarthangavel.hcl@gmail.com>2021-11-22 22:08:18 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-01 09:04:51 +0100
commitfd49f1f5945a9eb59384b643282fae0da6fe0914 (patch)
treef3263c46fe5c56e0b1e715b223bf41ca15b71b33 /net/ieee802154
parentff1a30740f7aa78699cea964640df6ff4f034bb5 (diff)
net/ncsi : Add payload to be 32-bit aligned to fix dropped packets
[ Upstream commit ac132852147ad303a938dda318970dd1bbdfda4e ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions