Skip to content

Commit

Permalink
ax25: Fix missing break
Browse files Browse the repository at this point in the history
At least there seems to be no reason to disallow ROSE sockets when
NETROM is loaded.

Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Alan Cox authored and davem330 committed Jul 17, 2012
1 parent 6865335 commit ef764a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/ax25/af_ax25.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ef764a1

Please sign in to comment.