diff options
Diffstat (limited to 'net/core/netpoll.c')
-rw-r--r-- | net/core/netpoll.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c index dc17f1db1479..d055bb01328b 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c | |||
@@ -543,13 +543,12 @@ static void arp_reply(struct sk_buff *skb) | |||
543 | spin_unlock_irqrestore(&npinfo->rx_lock, flags); | 543 | spin_unlock_irqrestore(&npinfo->rx_lock, flags); |
544 | } | 544 | } |
545 | 545 | ||
546 | int __netpoll_rx(struct sk_buff *skb) | 546 | int __netpoll_rx(struct sk_buff *skb, struct netpoll_info *npinfo) |
547 | { | 547 | { |
548 | int proto, len, ulen; | 548 | int proto, len, ulen; |
549 | int hits = 0; | 549 | int hits = 0; |
550 | const struct iphdr *iph; | 550 | const struct iphdr *iph; |
551 | struct udphdr *uh; | 551 | struct udphdr *uh; |
552 | struct netpoll_info *npinfo = skb->dev->npinfo; | ||
553 | struct netpoll *np, *tmp; | 552 | struct netpoll *np, *tmp; |
554 | 553 | ||
555 | if (list_empty(&npinfo->rx_np)) | 554 | if (list_empty(&npinfo->rx_np)) |