From: Jean Delvare <[EMAIL PROTECTED]>
Date: Tue, 16 Oct 2007 17:28:23 +0200

> By adding module aliases to inet_diag, tcp_diag and dccp_diag, we let
> them load automatically as needed. This makes tools like "ss" run
> faster.
> 
> Signed-off-by: Jean Delvare <[EMAIL PROTECTED]>
> Cc: Alexey Kuznetsov <[EMAIL PROTECTED]>
> ---
> The alias naming scheme for tcp_diag and dccp_diag follows what was
> done for dccp_ipv4 and dccp_ipv6.

I'm concerned it might be dangerous to load the module in
this context, the RTNL semaphore is held and the module we
are requesting could easily try to take it and deadlock.

Currently we are lucky and this won't happen, but if the sub-proto
registration is every changed to do so, it will be a nightmare for
whoever is so unlucky to try and debug it.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to