Home

torvalds/linux

Status:Indexed
Analyzed 3d ago210K+ starsC

Linux kernel source tree

Back to Pull Requests
#808Closed
Simple Review

Improve selnl_msglen() function.

by YoushaFeb 29, 2024
View on GitHub

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