diff options
| author | Dmitry Mastykin <[email protected]> | 2023-06-08 13:57:54 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-06-10 18:54:06 +0000 |
| commit | b403643d154d15176b060b82f7fc605210033edd (patch) | |
| tree | 0197cdad58ee677b218e74f14cb5d62de5766cab /drivers/net/wan/lapbether.c | |
| parent | Merge branch 'octeontx2-af-fixes' (diff) | |
| download | kernel-b403643d154d15176b060b82f7fc605210033edd.tar.gz kernel-b403643d154d15176b060b82f7fc605210033edd.zip | |
netlabel: fix shift wrapping bug in netlbl_catmap_setlong()
There is a shift wrapping bug in this code on 32-bit architectures.
NETLBL_CATMAP_MAPTYPE is u64, bitmap is unsigned long.
Every second 32-bit word of catmap becomes corrupted.
Signed-off-by: Dmitry Mastykin <[email protected]>
Acked-by: Paul Moore <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions
