Commit ef764a13 authored by Alan Cox's avatar Alan Cox Committed by David S. Miller

ax25: Fix missing break

At least there seems to be no reason to disallow ROSE sockets when
NETROM is loaded.
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 68653359
...@@ -842,6 +842,7 @@ static int ax25_create(struct net *net, struct socket *sock, int protocol, ...@@ -842,6 +842,7 @@ static int ax25_create(struct net *net, struct socket *sock, int protocol,
case AX25_P_NETROM: case AX25_P_NETROM:
if (ax25_protocol_is_registered(AX25_P_NETROM)) if (ax25_protocol_is_registered(AX25_P_NETROM))
return -ESOCKTNOSUPPORT; return -ESOCKTNOSUPPORT;
break;
#endif #endif
#ifdef CONFIG_ROSE_MODULE #ifdef CONFIG_ROSE_MODULE
case AX25_P_ROSE: case AX25_P_ROSE:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment