Re: [PATCH 2.6.25] UNIX: remove unused declaration of sysctl_unix_max_dgram_qlen (resend, wrong patch was sent)

2007-12-11 Thread David Miller
From: "Denis V. Lunev" <[EMAIL PROTECTED]> Date: Tue, 11 Dec 2007 14:53:23 +0300 > UNIX: remove unused declaration of sysctl_unix_max_dgram_qlen > > Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body

[PATCH 2.6.25] UNIX: remove unused declaration of sysctl_unix_max_dgram_qlen (resend, wrong patch was sent)

2007-12-11 Thread Denis V. Lunev
UNIX: remove unused declaration of sysctl_unix_max_dgram_qlen Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]> -- diff --git a/include/net/af_unix.h b/include/net/af_unix.h --- a/include/net/af_unix.h +++ b/include/net/af_unix.h @@ -59,7 +59,6 @@ struct unix_sock { #define unix_sk(__sk) ((struct

[PATCH 2.6.25] UNIX: remove unused declaration of sysctl_unix_max_dgram_qlen

2007-12-10 Thread Denis V. Lunev
Recently David Miller and Herbert Xu pointed out that struct net becomes overbloated and un-maintainable. There are two solutions: - provide a pointer to a network subsystem definition from struct net. This costs an additional dereferrence - place sub-system definition into the structure itself.