[PATCH] ax25: Fix missing break

Subsystems: networking [general], the rest

STALE5138d

2 messages, 2 authors, 2012-07-17 · open the first message on its own page

[PATCH] ax25: Fix missing break

From: Alan Cox <hidden>
Date: 2012-07-13 16:16:17

From: Alan Cox <redacted>

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

Signed-off-by: Alan Cox <redacted>
---

 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:

Re: [PATCH] ax25: Fix missing break

From: David Miller <davem@davemloft.net>
Date: 2012-07-17 06:22:55

From: Alan Cox <redacted>
Date: Fri, 13 Jul 2012 17:33:08 +0100
From: Alan Cox <redacted>

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

Signed-off-by: Alan Cox <redacted>
Applied, thanks Alan.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help