netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: johnpol@2ka.mipt.ru
Cc: herbert@gondor.apana.org.au, netdev@oss.sgi.com,
	"David S. Miller" <davem@davemloft.net>
Subject: Re: Fw: 2.6.12-rc4-mm[12] - ULOG problem
Date: Wed, 18 May 2005 23:45:52 -0700	[thread overview]
Message-ID: <20050518234552.4aef6d02.akpm@osdl.org> (raw)
In-Reply-To: <1116484313.21310.78.camel@uganda>

Evgeniy Polyakov <johnpol@2ka.mipt.ru> wrote:
>
> On Wed, 2005-05-18 at 22:27 -0700, Andrew Morton wrote:
> > Herbert Xu <herbert@gondor.apana.org.au> wrote:
> > >
> > > Andrew Morton <akpm@osdl.org> wrote:
> > >  > 
> > >  > This is the second report of this happening.
> > >  > 
> > >  > FATAL: Error inserting ipt_ULOG (/lib/modules/2.6.12-rc4-mm1-2/kernel/net/ipv4/netfilter/ipt_ULOG.ko): Cannot allocate memory
> > 
> > Ah yes, thanks.  netlink_kernel_create() has a dumbish return-value protocol.
> > 
> > >  This probably means that someone has stolen the NETLINK_NFLOG id.
> > 
> > cn_init() uses NETLINK_NFLOG.  Peculiar.
> 
> Yep...

Bah.

> One may use "unit" module parameter to specify different socket.

Is there any reason for being able to do that?

> Should I ask David Miller to allocate new one specially for connector?

Dave?


diff -puN include/linux/netlink.h~connector-netlink-id-fix include/linux/netlink.h
--- 25/include/linux/netlink.h~connector-netlink-id-fix	2005-05-18 23:44:43.000000000 -0700
+++ 25-akpm/include/linux/netlink.h	2005-05-18 23:44:43.000000000 -0700
@@ -14,6 +14,7 @@
 #define NETLINK_SELINUX		7	/* SELinux event notifications */
 #define NETLINK_ARPD		8
 #define NETLINK_AUDIT		9	/* auditing */
+#define NETLINK_CONNECTOR	10	/* kernel connector */
 #define NETLINK_ROUTE6		11	/* af_inet6 route comm channel */
 #define NETLINK_IP6_FW		13
 #define NETLINK_DNRTMSG		14	/* DECnet routing messages */
diff -puN drivers/connector/connector.c~connector-netlink-id-fix drivers/connector/connector.c
--- 25/drivers/connector/connector.c~connector-netlink-id-fix	2005-05-18 23:44:43.000000000 -0700
+++ 25-akpm/drivers/connector/connector.c	2005-05-18 23:44:43.000000000 -0700
@@ -33,7 +33,7 @@ MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Evgeniy Polyakov <johnpol@2ka.mipt.ru>");
 MODULE_DESCRIPTION("Generic userspace <-> kernelspace connector.");
 
-static int unit = NETLINK_NFLOG;
+static int unit = NETLINK_CONNECTOR;
 static u32 cn_idx = CN_IDX_CONNECTOR;
 static u32 cn_val = CN_VAL_CONNECTOR;
 
_

  reply	other threads:[~2005-05-19  6:45 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  3:24 Fw: 2.6.12-rc4-mm[12] - ULOG problem Andrew Morton
2005-05-19  4:49 ` Herbert Xu
2005-05-19  5:27   ` Andrew Morton
2005-05-19  6:31     ` Evgeniy Polyakov
2005-05-19  6:45       ` Andrew Morton [this message]
2005-05-19  7:06         ` Evgeniy Polyakov
2005-05-19  7:08           ` Andrew Morton
2005-05-19  7:27             ` Evgeniy Polyakov
2005-05-19 13:19             ` James Morris
2005-05-19 16:53               ` Andrew Morton
2005-05-19 17:09                 ` James Morris
2005-05-19 18:54                   ` David S. Miller
2005-05-19 18:48               ` David S. Miller
2005-05-20  6:27                 ` Evgeniy Polyakov
2005-05-19 18:42           ` David S. Miller
2005-05-20  6:27             ` Evgeniy Polyakov
2005-05-19 18:44         ` David S. Miller
2005-05-20  6:39           ` Evgeniy Polyakov
2005-05-20 11:42             ` jamal
2005-05-20 14:15               ` Evgeniy Polyakov
2005-05-19 13:16     ` Fw: " James Morris
2005-05-19 13:46       ` jamal
2005-05-19 18:49         ` David S. Miller
2005-05-20  6:25           ` Evgeniy Polyakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050518234552.4aef6d02.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=johnpol@2ka.mipt.ru \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).