diff options
author | Johannes Berg <[email protected]> | 2023-04-19 14:52:53 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-04-20 20:20:49 -0700 |
commit | 071c0fc6fb919dcf29c676a842dda08a674877d7 (patch) | |
tree | 7062c1fde75461ef4cb2a5a3395f6d56b8812b70 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 5b8285cca6fed9bc5baabe2e5699a5a5c0d96371 (diff) |
net: extend drop reasons for multiple subsystems
Extend drop reasons to make them usable by subsystems
other than core by reserving the high 16 bits for a
new subsystem ID, of which 0 of course is used for the
existing reasons immediately.
To still be able to have string reasons, restructure
that code a bit to make the loopup under RCU, the only
user of this (right now) is drop_monitor.
Link: https://lore.kernel.org/netdev/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions