aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/core/netpoll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index a9b10048388a..e2f79a14625c 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -1140,6 +1140,7 @@ int netpoll_setup(struct netpoll *np)
1140#else 1140#else
1141 np_err(np, "IPv6 is not supported %s, aborting\n", 1141 np_err(np, "IPv6 is not supported %s, aborting\n",
1142 np->dev_name); 1142 np->dev_name);
1143 err = -EINVAL;
1143 goto put; 1144 goto put;
1144#endif 1145#endif
1145 } 1146 }