netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ax25: Fix missing break
@ 2012-07-13 16:33 Alan Cox
  2012-07-17  6:22 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Cox @ 2012-07-13 16:33 UTC (permalink / raw)
  To: netdev, ralf

From: Alan Cox <alan@linux.intel.com>

At least there seems to be no reason to disallow ROSE sockets when
NETROM is loaded.

Signed-off-by: Alan Cox <alan@linux.intel.com>
---

 net/ax25/af_ax25.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c
index 051f7ab..779095d 100644
--- a/net/ax25/af_ax25.c
+++ b/net/ax25/af_ax25.c
@@ -842,6 +842,7 @@ static int ax25_create(struct net *net, struct socket *sock, int protocol,
 		case AX25_P_NETROM:
 			if (ax25_protocol_is_registered(AX25_P_NETROM))
 				return -ESOCKTNOSUPPORT;
+			break;
 #endif
 #ifdef CONFIG_ROSE_MODULE
 		case AX25_P_ROSE:

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

* Re: [PATCH] ax25: Fix missing break
  2012-07-13 16:33 [PATCH] ax25: Fix missing break Alan Cox
@ 2012-07-17  6:22 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-07-17  6:22 UTC (permalink / raw)
  To: alan; +Cc: netdev, ralf

From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Fri, 13 Jul 2012 17:33:08 +0100

> From: Alan Cox <alan@linux.intel.com>
> 
> At least there seems to be no reason to disallow ROSE sockets when
> NETROM is loaded.
> 
> Signed-off-by: Alan Cox <alan@linux.intel.com>

Applied, thanks Alan.

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

end of thread, other threads:[~2012-07-17  6:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-13 16:33 [PATCH] ax25: Fix missing break Alan Cox
2012-07-17  6:22 ` David Miller

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).