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 c327c9edadc5..895f3efc65aa 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -639,6 +639,7 @@ int netpoll_setup(struct netpoll *np)
639 if (!npinfo) 639 if (!npinfo)
640 goto release; 640 goto release;
641 641
642 npinfo->rx_flags = 0;
642 npinfo->rx_np = NULL; 643 npinfo->rx_np = NULL;
643 npinfo->poll_lock = SPIN_LOCK_UNLOCKED; 644 npinfo->poll_lock = SPIN_LOCK_UNLOCKED;
644 npinfo->poll_owner = -1; 645 npinfo->poll_owner = -1;