aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorKumar Thangavel <[email protected]>2021-11-22 22:08:18 +0530
committerDavid S. Miller <[email protected]>2021-11-24 11:53:17 +0000
commitac132852147ad303a938dda318970dd1bbdfda4e (patch)
tree55ab3c0c818b4adf3a125ff65341803b797d4005 /lib/test_overflow.c
parent619ca0d0108a5866cca7793bd7e19c5d7a30e750 (diff)
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 <[email protected]> Acked-by: Samuel Mendoza-Jonas <[email protected]> Reviewed-by: Paul Menzel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions