forked from luck/tmp_suning_uos_patched
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
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user