diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netpoll.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h index 907812efb4d9..5d881c388273 100644 --- a/include/linux/netpoll.h +++ b/include/linux/netpoll.h | |||
@@ -52,7 +52,7 @@ void netpoll_set_trap(int trap); | |||
52 | void __netpoll_cleanup(struct netpoll *np); | 52 | void __netpoll_cleanup(struct netpoll *np); |
53 | void __netpoll_free_rcu(struct netpoll *np); | 53 | void __netpoll_free_rcu(struct netpoll *np); |
54 | void netpoll_cleanup(struct netpoll *np); | 54 | void netpoll_cleanup(struct netpoll *np); |
55 | int __netpoll_rx(struct sk_buff *skb); | 55 | int __netpoll_rx(struct sk_buff *skb, struct netpoll_info *npinfo); |
56 | void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb, | 56 | void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb, |
57 | struct net_device *dev); | 57 | struct net_device *dev); |
58 | static inline void netpoll_send_skb(struct netpoll *np, struct sk_buff *skb) | 58 | static inline void netpoll_send_skb(struct netpoll *np, struct sk_buff *skb) |
@@ -77,7 +77,7 @@ static inline bool netpoll_rx(struct sk_buff *skb) | |||
77 | 77 | ||
78 | spin_lock(&npinfo->rx_lock); | 78 | spin_lock(&npinfo->rx_lock); |
79 | /* check rx_flags again with the lock held */ | 79 | /* check rx_flags again with the lock held */ |
80 | if (npinfo->rx_flags && __netpoll_rx(skb)) | 80 | if (npinfo->rx_flags && __netpoll_rx(skb, npinfo)) |
81 | ret = true; | 81 | ret = true; |
82 | spin_unlock(&npinfo->rx_lock); | 82 | spin_unlock(&npinfo->rx_lock); |
83 | 83 | ||