ax25: Fix missing break
authorAlan Cox <alan@linux.intel.com>
Fri, 13 Jul 2012 06:33:08 +0000 (06:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 06:22:36 +0000 (23:22 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ax25/af_ax25.c

index 051f7abae66d987177536637c235865258cabbec..779095ded689918de025f48c47db880aa9b5d724 100644 (file)
@@ -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: