Back to Pull RequestsView on GitHub
#808Closed
Simple Review
Improve selnl_msglen() function.
by Yousha•Feb 29, 2024
Summary
This patch enhances the `selnl_msglen()` function to gracefully handle unexpected message types. Instead of causing a kernel panic, it will now return an appropriate error value, improving system stability when encountering unknown security label netlink messages.
Changes
+14 additions-12 deletions
Impact Areas
NetfilterSecurityNetlink