diff options
-rw-r--r-- | net/core/netpoll.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c index 895f3efc65aa..b9d9da082af2 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c | |||
@@ -353,11 +353,8 @@ static void arp_reply(struct sk_buff *skb) | |||
353 | struct sk_buff *send_skb; | 353 | struct sk_buff *send_skb; |
354 | struct netpoll *np = NULL; | 354 | struct netpoll *np = NULL; |
355 | 355 | ||
356 | spin_lock_irqsave(&npinfo->rx_lock, flags); | ||
357 | if (npinfo->rx_np && npinfo->rx_np->dev == skb->dev) | 356 | if (npinfo->rx_np && npinfo->rx_np->dev == skb->dev) |
358 | np = npinfo->rx_np; | 357 | np = npinfo->rx_np; |
359 | spin_unlock_irqrestore(&npinfo->rx_lock, flags); | ||
360 | |||
361 | if (!np) | 358 | if (!np) |
362 | return; | 359 | return; |
363 | 360 | ||