All of lore.kernel.org
 help / color / mirror / Atom feed
* mISDN didn't define af_family_key_strings et al.
@ 2008-10-09  0:27 Eric Paris
  2008-10-09  0:28 ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Paris @ 2008-10-09  0:27 UTC (permalink / raw)
  To: kkeil; +Cc: isdn4linux, linux-kernel, davem

I see that recently AF_ISDN was added to the kernel but I don't see them
having updated af_family_key_strings[] found in net/core/sock.c.  I'm
adding a new one myself and caught a NULL entry toward the end of the
array.  My assumption is that isdn is using the sk_lock-AF_MAX entry
instead of their own.

As an aside it was nice having such a clean explosion when I didn't add
my own.  Are the AF_MAX entries in those arrays really needed?  If we
dropped it altogether would others (like myself and the isdn people) who
forgot to add their own get nice explosions with no other problems?

-Eric


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mISDN didn't define af_family_key_strings et al.
  2008-10-09  0:27 mISDN didn't define af_family_key_strings et al Eric Paris
@ 2008-10-09  0:28 ` David Miller
  2008-10-09  0:57   ` Eric Paris
  0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2008-10-09  0:28 UTC (permalink / raw)
  To: eparis; +Cc: kkeil, isdn4linux, linux-kernel

From: Eric Paris <eparis@redhat.com>
Date: Wed, 08 Oct 2008 20:27:29 -0400

> I see that recently AF_ISDN was added to the kernel but I don't see them
> having updated af_family_key_strings[] found in net/core/sock.c.  I'm
> adding a new one myself and caught a NULL entry toward the end of the
> array.  My assumption is that isdn is using the sk_lock-AF_MAX entry
> instead of their own.

This has been fixed in net-next-2.6 for a few weeks.

net/core/sock.c:
  "sk_lock-AF_RXRPC" , "sk_lock-AF_ISDN"     , "sk_lock-AF_PHONET"   ,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mISDN didn't define af_family_key_strings et al.
  2008-10-09  0:28 ` David Miller
@ 2008-10-09  0:57   ` Eric Paris
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Paris @ 2008-10-09  0:57 UTC (permalink / raw)
  To: David Miller; +Cc: kkeil, isdn4linux, linux-kernel

On Wed, 2008-10-08 at 17:28 -0700, David Miller wrote:
> From: Eric Paris <eparis@redhat.com>
> Date: Wed, 08 Oct 2008 20:27:29 -0400
> 
> > I see that recently AF_ISDN was added to the kernel but I don't see them
> > having updated af_family_key_strings[] found in net/core/sock.c.  I'm
> > adding a new one myself and caught a NULL entry toward the end of the
> > array.  My assumption is that isdn is using the sk_lock-AF_MAX entry
> > instead of their own.
> 
> This has been fixed in net-next-2.6 for a few weeks.
> 
> net/core/sock.c:
>   "sk_lock-AF_RXRPC" , "sk_lock-AF_ISDN"     , "sk_lock-AF_PHONET"   ,

Thanks dave.  Didn't see it in Linus's or the ISDN trees.  Didn't even
think to look in net-next....

-Eric


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-09  0:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-09  0:27 mISDN didn't define af_family_key_strings et al Eric Paris
2008-10-09  0:28 ` David Miller
2008-10-09  0:57   ` Eric Paris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.