Skip to contentSkip to conversation

ax25: Fix missing break

PATCH Applied Alan Cox 2 participants 2 messages Jul 13, 2012 – Jul 17, 2012

Subsystems (2)
lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 ax25: Fix missing break

From: Alan Cox <[email protected]>

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

---

 net/ax25/af_ax25.c |    1 +
 1 file changed, 1 insertion(+)
net/ax25/af_ax25.c +1 -0
index 051f7ab..779095d 100644
@@ -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: