From: Alan Cox Date: Fri, 13 Jul 2012 06:33:08 +0000 (+0000) Subject: ax25: Fix missing break X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ef764a13b8f4bc4b532a51bc37c35b3974831b29;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index 051f7abae66d..779095ded689 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c @@ -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: