summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-06-02 22:37:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-06 09:08:35 +0300
commitd8f2cff63249fdf7f2cf78e70344613db1fc4e53 (patch)
treeb90f61f8084654d7e89b921cba05b183dc28b49d /include/linux/stackprotector.h
parent3d7deed4ec52d2018f81d0e798966b551c7d1487 (diff)
downloadlinux-d8f2cff63249fdf7f2cf78e70344613db1fc4e53.tar.xz
staging: r8188eu: calculate the delba length
Use offsetofend to calculate the length of the delba message. We are now calculating all message lengths based on the offset of their last field. All intermediate updates of pattrib->pktlen can be removed. Tested-by: Pavel Skripkin <paskripkin@gmail.com> Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220602193726.280922-10-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions