Subject: Re: [PATCH] [IPV6] fixed the size of the netlink message notified by inet6_rt_notify().

From: Thomas Graf <[email-masked]>
Date: Mon, 22 Jan 2007 13:39:40 +0100

* Patrick McHardy <[email-masked]> 2007-01-17 13:33
> [NETLINK]: Don't BUG on undersized allocations
> 
> Currently netlink users BUG when the allocated skb for an event
> notification is undersized. While this is certainly a kernel bug,
> its not critical and crashing the kernel is too drastic, especially
> when considering that these errors have appeared multiple times in
> the past and it BUGs even if no listeners are present.
> 
> This patch replaces BUG by WARN_ON and changes the notification
> functions to inform potential listeners of undersized allocations
> using a unique error code (EMSGSIZE).

I perfectly agree, thanks a lot Patrick.