mirror of
https://github.com/torvalds/linux.git
synced 2026-06-30 01:55:39 +02:00
Account for the netlink message header size directly in nlmsg_new() instead of relying on the caller calculate it correctly. Replaces error handling of message construction functions when constructing notifications with bug traps since a failure implies a bug in calculating the size of the skb. Signed-off-by: Thomas Graf <tgraf@suug.ch> Acked-by: Paul Moore <paul.moore@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
|---|---|---|
| .. | ||
| af_netlink.c | ||
| attr.c | ||
| genetlink.c | ||
| Makefile | ||