diff options
author | Jens Axboe <[email protected]> | 2023-12-15 13:24:10 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2023-12-15 14:08:46 -0800 |
commit | f8fa5d76925991976b3e7076f9d1052515ec1fca (patch) | |
tree | c4f3a3499057e652b189ea296badff01c72ca276 /drivers/usb/cdns3/cdns3-imx.c | |
parent | 3bd7d748816927202268cb335921f7f68b3ca723 (diff) |
cred: switch to using atomic_long_t
There are multiple ways to grab references to credentials, and the only
protection we have against overflowing it is the memory required to do
so.
With memory sizes only moving in one direction, let's bump the reference
count to 64-bit and move it outside the realm of feasibly overflowing.
Signed-off-by: Jens Axboe <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions