[PATCH 0/3] netlink: Avoid crash with clientless netlink
ijackson at chiark.greenend.org.uk
Sun Jan 5 15:44:50 GMT 2014
If you write your configs by hand it is easy to have a point-to-point
"netlink" closure in one of the site definitions, but which is never
passed to the "site" constructor. The result is that the netlink is
active but has no client.
I think this is a configuration error, so it is not necessary to
arrange for such netlinks (for example) to not set themselves up.
But secnet should not crash.
In this series I fix the bug by having a clientless netlink log and
discard the packets it gets from the kernel.
Barring objections I intend to include this in a secnet 0.3.1 release
1/3 netlink: Break out netlink_client_deliver
2/3 netlink: Avoid crash with clientless netlink
3/3 netlink: Remove a newline from p-t-p startup message
More information about the sgo-software-discuss