ax25: Fix missing break
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>
This commit is contained in:
parent
68653359be
commit
ef764a13b8
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue